在Android模拟器如何安装的apk文件? [英] How do I Install .apk files in the android emulator?

查看:116
本文介绍了在Android模拟器如何安装的apk文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要安装在机器人emulator.But我有多个仿真器打开(5554,5556)我的.apk文件,我不想当关闭模拟器中的任何一个如何安装的apk文件在模拟器有多个仿真器被打开?

I want to install my .apk file in android emulator.But I have multiple emulators opened(5554,5556) and i don't want to close any one of the emulator how to install a .apk file in an emulator when there is multiple emulators are opened?

推荐答案

您可以告诉亚洲开发银行要连接到的设备。

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

这篇关于在Android模拟器如何安装的apk文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆