如何在Android Studio中使用其他模拟器 [英] How to use a different emulator in Android Studio

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

问题描述

我在Android Studio中的qemu模拟器中进行构建时遇到问题.还有其他一些Android模拟器.如何配置Android Studio以使用其他模拟器?我使用跨越式模拟器 http://www.leapdroid.com 来运行应用程序和游戏.

I have issues with the build in qemu emulator in Android Studio. There are some other Android emulators out there. How to configure Android Studio to use a different emulator? I use leapdroid emulator http://www.leapdroid.com to run apps and games.

推荐答案

Leapdroid与Android adb兼容,即,使用以5555开头的相同端口号,因此实际上没有什么特别的事情要做,几乎与您的相同使用内置的Android模拟器.如果您运行"adb设备",则会看到名为"emulator-5554"的设备.

Leapdroid is compatible with Android adb, i.e., using the same port numbers starting with 5555, so there is really nothing special to do, pretty much same as what you do with the built-in Android emulator. If you run "adb devices", you will see a device named as "emulator-5554".

以下是步骤:

  1. 启动Leapdroid vm,其中包含android 4.4.4映像
  2. 启动Android Studio,然后单击"Android模拟器"选项卡,名为"Emulator unknown 4.4.4"的设备将显示在设备列表中,您可以选择它.
  3. 您应该能够看到logcat并调试Android应用程序等.

确保在发生冲突的情况下首先关闭所有其他仿真器.

Make sure that you close all other emulators first, in case there are conflicts.

我还附上了两个屏幕截图以进行说明:

I've also attached two screenshots for clarifications:

这篇关于如何在Android Studio中使用其他模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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