Monday 18 February 2013

How to Install APK Files on Android Device Emulator


In this tutorial you are to run any APK (Android application) file to your Android emulator. Assuming you already have the Emulator running  (if not sure how run the Android device emulator, refer to this (http://kalyankumar-testing.blogspot.in/2013/02/android-emulator-to-run-your-apps.html) .
image  Figure 1
Locate your adb.exe file in your Android SDK folder. In Windows environment normally your adb.exe is inside [Android-SDK-folder]/platform-tools/ . In my case, the adb.exe is in C:\android-juno\android-sdk\platform-tools (this is an example path to the adb.exe, may varies depending on your system). Find any APK file (for the purpose of this tutorial, I’ve prepare an APK file – download herehttp://bit.ly/peribahasa-apk ). After you’ve successfully downloaded the APK, put it inside your [Android-SDK-folder]/platform-tools/ as in Figure 2.
How to Install APK Files on Android Device Emulator 
Figure 2

Now run the adb.exe through the command prompt, go to Start, and find cmd.
image Figure 3
In the command line, go inside the platform-tools folder, as in the Figure 4. Execute command;
adb install Peribahasa.apk
C:\Users\kerul>cd\

C:\>cd android-juno

C:\android-juno>cd android-sdk

C:\android-juno\android-sdk>cd platform-tools

C:\android-juno\android-sdk\platform-tools>adb install Peribahasa.apk

image Figure 4

Later, the apps you just install will be in the emulator.

image

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...