How do I Install .apk files in the android emulator?

我想在Android模拟器中安装我的.apk文件。但是我打开了多个模拟器(5554,5556),并且我不想关闭任何一个模拟器如何在模拟器中安装.apk文件时有多个模拟器打开?


You can tell adb which device you want to connect to.

adb -s emulator-5554 install something.apk

(from the host). I am not sure the numbers you gave are the "serial numbers", so check with

adb devices

使用带有仿真器设备名称的-s命令行选项,例如

#adb -s emulator-5554 install ...

Please check with this URLs

How to Install APK Files on Android Device Emulator

Tips: How to install apk files on Android Emulator

How to install .apk file to emulator?

链接地址: http://www.djcxy.com/p/90680.html

上一篇: 如何从模拟器的命令行运行apk

下一篇: 如何在android模拟器中安装.apk文件?