Android application testing using android SDK
Android become very popular OS in mobile phones. It’s very difficult to test each devices by hand, so there is a solution. Same used by developers.
Download android sdk tool http://developer.android.com/sdk/index.html . I have downloaded linux bundle here. I assume there isn’t lot of difference in windows flow too. i have downloaded this package http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz “please make sure you are downloading only sdk tools, not entire bundle with eclipse. That’s not needed for testers.
Extract the bundle to a folder.
Go to extracted folder using linux terminal.
Go to tools folder.
Now just type this in your terminal “./android” < this command will open the android SDK.
Now install the bundles that you want to test. (Different android versions).
Open AVD manager and create a new device.
Start the device.
It will open the Android SDK with given OS version.
———————————————————————————
Now we have some android devices. How do you test your android application with the android SDK?
Lets Install the apk file in your android SDK. It’s very simple.
Copy your apk file in to android sdk “platform-tools” folder.
Go to “platform-tools” folder using a new terminal instance.(make sure your android SDK is running)
Type “adb install myapp.apk” (replace myapp.apk with your application name.)
Done.
This will install apk application on selected SDK device.
No images available.