0

我正在尝试在 android 模拟器上部署我的第一个 MAF 应用程序。当我尝试部署应用程序时,它会给出以下错误。

[10:33:07 AM] ----  Deployment started.  ----
[10:33:07 AM] Target platform is  (Android).
[10:33:07 AM] Beginning deployment of MAF application "MyFirstApp" to Android using profile "myMafAndrd".
[10:33:09 AM] Checking state of Android Debug Bridge server...
[10:33:10 AM] Android Debug Bridge server already running.
[10:33:14 AM] Verifying a single Android emulator is online and connected to the ADB server...
[10:33:15 AM] Deployment cancelled.
[10:33:15 AM] ----  Deployment incomplete  ----.
[10:33:15 AM] Too many Android emulators connected.  Only one emulator should be connected for deployment.  The following results were provided by ADB:
List of devices attached
emulator-5556   device
emulator-5554   device
 (oracle.adfmf.framework.dt.deploy.android.deployers.CheckAttachedDevicesDeployer)

但是我在 AVD Manager 中只有一个模拟器。 在此处输入图像描述

我在谷歌上搜索了很多,发现我必须使用 adb kill-server 重新启动 adb 服务器并使用 start-server 重新启动它。它也没有解决我的问题。

我启动了我的模拟器。在控制台上,我输入了以下内容。

L:\Program Files\Android\android-sdk\platform-tools>adb devices -l
List of devices attached
emulator-5554          device product:t03gxx model:GT_N7100 device:t03g
emulator-5556          device product:sdk_phone_x86 model:Android_SDK_built_for_
x86 device:generic_x86

即使我在 AVD Manager 中只有一个模拟器,为什么它显示连接的设备列表为两个。因此,我无法部署我的应用程序。

如何断开emulator-5554 device product:t03gxx model:GT_N7100 device:t03g我的实际模拟器是emulator-5556 device product:sdk_phone_x86. 请帮忙。提前致谢。

4

0 回答 0