Wednesday, December 8, 2010

Install APK file from command Prompt

 I have now finished with my POC and want to install it in my android emulator outside of Eclipse.

Here are the steps

Execute the emulator so that it starts and is ready to install new programs.
(you need to run the emulator.exe under the android SDK\Tools folder)
1) copy the APK file (which will under /bin directory) to "C:\myProject.apk" (this step is really not needed, but its just a failsafe method)

2) open the command prompt (in your PC and not in the emulator) and type

abd install c:\myProject.apx

this will install the APK file in the emulator

3) If you are getting "command not found" - navigate to the Android SDK/Tools folder
cd x:/androidsdkfolder/tools
and run command again.....

happy androiding !!!!

No comments:

Post a Comment