How to install .apk file using android AVD.?
This question already has an answer here:
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-windowsplatform-toolsadb.exe install app.apk
链接地址: http://www.djcxy.com/p/90668.html