0

初めての MAF アプリケーションを Android エミュレーターにデプロイしようとしています。アプリケーションをデプロイしようとすると、次のエラーが発生します。

[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 にはエミュレーターが 1 つしかありません。 ここに画像の説明を入力

Googleでよく検索したところ、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 にエミュレーターが 1 つしかないのに、接続されているデバイスのリストが 2 つ表示されるのはなぜですか。このため、アプリをデプロイできません。

emulator-5554 device product:t03gxx model:GT_N7100 device:t03g実際のエミュレータを切断するにはどうすればよいですかemulator-5556 device product:sdk_phone_x86。助けてください。前もって感謝します。

4

0 に答える 0