How to install an apk on the emulator in Android Studio?

后端 未结 13 1914
温柔的废话
温柔的废话 2020-12-02 05:24

How do you install an apk on the emulator in Android Studio from the terminal?

In Eclipse we did

/home/pcname/android-sdks/platform-tools/adb -s em         


        
相关标签:
13条回答
  • 2020-12-02 06:18

    Much easier is just to start your emulator, then go to sdk/platform-tools and use adb from there to install apk. Like:

    adb install xxx.apk

    It will install it on running emulator.

    0 讨论(0)
提交回复
热议问题