If you are new to Android and looking for a way to test some of the currently available Android applications, here is how to proceed :
- First get the Android SDK and unzip it somewhere on your hard drive
- Add SDK_ROOT to your system variables pointing to /tools folder under the sdk
- Run the emulator
- Copy the apk file to /tools folder
- Change directory to /tools and run from commandline $adb install your_application.apk
- Now check applications list in the emulator and you should see the new application installed and ready.
Some pointed me to the error message when running adb on windows : * deamon still not running * error: no device.
In this case try to shutdown adb server and start it manually using :
$adb kill-server
$adb start-server
You can test if deamon is working by running $adb shell
The uninstall procedure is
$adb shell rm your_application.apk
Hope this help, enjoy !



RSS Feed
Twitter page
Facebook Group
August 16th, 2008 at 6:49 pm
Thanks!
October 24th, 2008 at 9:47 pm
Is there any way to install the apk app files directly to the G1 handset?
December 17th, 2008 at 7:06 pm
how do I install apk file in my G1 phone?
March 12th, 2009 at 3:25 pm
Thank you!!
March 16th, 2009 at 4:39 pm
Thank you, these were really good instructions.
March 26th, 2009 at 2:22 pm
I can not to remove the application on emulator!
August 12th, 2009 at 2:16 am
To the commenters above, if you want to install the APK in your phone, I believe you can do so by putting it on a server somewhere, and then by browsing to the file on your phone. From there, it will allow you to install it.
August 28th, 2009 at 9:56 am
I think you should write adb instead $adb !
My computer didn’t recognize the $adb command.
August 28th, 2009 at 9:58 am
I think you should write adb instead of $adb.
My computer didn’t recognize the $adb command.
March 22nd, 2010 at 8:48 am
Thanks it really wrking fine….
May 22nd, 2010 at 9:32 am
Thanks for the tuturial.
June 10th, 2010 at 3:52 am
I was able to install it by using above method, but to remove it I used this tutorial http://www.botskool.com/geeks/how-uninstall-apk-files-android-windows-sdk-emulator, hope it will help you laitung_tn@yahoo.com
July 7th, 2010 at 8:56 am
I’m trying to run a sample android app on the emulator on windows without eclipse. The installation of my HelloWorld.apk was successful. But when i try to uninstall it from the emulator using the command
\tools>adb shell rm HelloWorld.apk
rm failed for HelloWorld.apk, Read-only file system.
Can someone get me a solution for it? Thank you in advance.
July 7th, 2010 at 9:12 am
Got it to work by the below method:
$adb shell
$cd data
$cd app
$ls //Lists all the applications install on the emulator
com.myfirst.helloworld-2.apk
$rm com.myfirst.helloworld-2.apk
July 28th, 2010 at 5:15 pm
I am able to install the apk file and can only find in the Menu-Application-Manager.
But can not find the installation in the menu / desktop (no way to run the apk).
Please help
** I am using Android 2.2 , Android ADK r6
November 10th, 2010 at 9:26 am
I could install apk file on emulator but uninstall process failed. I am using Ubuntu 10.04.
This is the error when i try to remove apk file:
./adb shell rm my_pro.apk
->>rm failed for my_pro.apk, Read-only file system even I used
chmod 777 my_pro.apk
How do I fix it?
January 21st, 2011 at 12:47 pm
Hello!
Thank you very much!
I followed some of your guide and it worked!
This advice was very valuable:
“adb kill-server
$adb start-server”
Though it is annoying that I can’t get it installed through Eclipse, despite that I follow the instructions.
Have a nice day!
Anders Branderud
March 4th, 2011 at 8:37 pm
Worked like a charm! And thanks for mentioning potential downfalls as that is what happen to me.
Cheers!
March 15th, 2011 at 4:38 pm
When I am trying to run the command “adb install application.apk” from another command window from \tools directory, it throw an error “‘adb’ is not recognized as an internal or external command,
operable program or batch file.”
Can anyone plz tell the cure of this error.
Thanx for the support..
March 17th, 2011 at 4:53 pm
when running the terminal and I try to use the adb command I keep getting permission denied.
April 10th, 2011 at 9:09 am
open “cmd”
c:\avdroid-sdk-windows\tools>adb install yourfile.apk
c:\avdroid-sdk-windows\tools>adb rm yourfile.apk
May 16th, 2011 at 2:37 pm
I use Android Emulator for Windows r11. “adb.exe” is moved to path “C:\Program Files\Android\android-sdk\platform-tools\”. So, I added this path into PATH variable to call the program anywhere.
To run the command, use “rdb install “