I am using windows 7. One of my client gave me a apk file to see a previous project developed by another developer. But I have no android phone. So I want to install that apk file to my AVD device of my android sdk. But I am fail. Please give me details instruction how to install apk file inside AVD device of Eclipse(Android SDK). I am using windows 7.
The command is:
adb install app.apk
If you want to install it over an existing installation, you will need:
adb install -r app.apk
This will only work if the installed app and the new app.apk file are signed with the same signature. Otherwise you'll have to uninstall the existing app first.
Make sure that you have [android installation]\platform-tools on your PATH. If you don't want to modify your PATH, use the full path to adb in the command line. For example:
c:\android-sdk-windows\platform-tools\adb.exe install app.apk
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With