问题描述
我知道如何通过命令提示符将 apk 文件安装到模拟器中.但我想知道是否可以通过提供任何特定名称将相同的 apk 文件安装到多个模拟器中?实际上我必须在许多设备中测试一个 apk 文件.为此,我已经启动了许多设备.我知道如何安装它.如果所有设备都打开,那么它将无法安装.那么是否有任何替代方法可以通过提供任何特定的设备模拟器 ID 或任何名称来安装该 apk 文件???如果有任何想法,请帮助我...谢谢.
I know how to install the apk file in to the emulator by command prompt and all that. But i want to know is it possible to install same apk file in to multiple emulator by giving any specific name ? Actually i have to test one apk file in to many device. and for that i have started many device. I know how to install it. if the all device are open then it will not get install. So is there any alternate to install that apk file by giving any specific device Emulator id or any name ??? Please help me if there is any idea for it. . . Thanks.
推荐答案
是的,您可以在特定设备上安装 apk.
Yes, you can install an apk on a particular device.
在命令中输入:
adb devices
// list of devices and its unique ID...
然后输入:
adb -s "<deviceIDfromlist>" install "<path-to-apk>"
这篇关于如果连接了多个模拟器/设备,是否可以安装 APK 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)