How to install .apk file using android AVD.?

This question already has an answer here:

  • How do you install an APK file in the Android emulator? 30 answers

  • 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

    上一篇: 在android模拟器中安装一个apk文件

    下一篇: 如何使用android AVD安装.apk文件?