问题描述
我在 Android Studio 的 qemu 模拟器中构建时遇到问题.还有一些其他的 Android 模拟器.如何配置 Android Studio 以使用不同的模拟器?我使用leapdroid 模拟器
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 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".
Here are the steps:
- Launch Leapdroid vm, which contains android 4.4.4 image
- Launch Android Studio, and click Android emulator tab, a device named as "Emulator unknown 4.4.4" will show up inside the device list, and you can select it.
- You should be able to see the logcat, and debug your Android app, etc.
Make sure that you close all other emulators first, in case there are conflicts.
I've also attached two screenshots for clarifications:
这篇关于如何在 Android Studio 中使用不同的模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!