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 !!!!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.