2017-11-04 2 views
2

Ich versuche, meine Ionic (3.16.0) Hybrid-App mit Android Emulator, der mit Android Studio v3.0 ausgeliefert wird, zu testen. /myapp> ionic cordova build android erstellt den Build erfolgreich. Aber wenn ich /myapp> ionic cordova emulate android starte, startet der Emulator und lädt den Bildschirm, aber ich bin nicht in der Lage, die meine App im Emulator zu finden. Auch die Stack-Trace in den Terminal-Protokolle werden weiter unten sehen:Ionic: Android Emulator Fehler

Waiting for emulator to start... 

emulator: Requested console port 5584: Inferring adb port 5585. 
Hax is enabled 
Hax ram_size 0x40000000 
HAX is working and emulator runs in fast virt mode. 
emulator: 
Listening for console connections on port: 5584 
emulator: Serial number of this emulator (for ADB): emulator-5584 
Error: Failed to execute shell command "getprop,dev.bootcomplete"" on device: Error: C:\Users\ilourdus\AppData\Local\Android\Sd 
k\platform-tools\adb.exe: Command failed with exit code 1 Error output: 
error: device unauthorized. 
This adb server's $ADB_VENDOR_KEYS is not set 
Try 'adb kill-server' if that seems wrong. 
Otherwise check for a confirmation dialog on your device. 

Ich habe adb-Server läuft und die Plattform-Tools Pfad zu dem System PATH. Ich habe Cordova 6.5.0.

Kann ich Hilfe zu den Fehlern im obigen Protokoll erhalten und wie ich meine App im Emulator aufrufen kann?

Antwort

2

Dieses Problem wurde gelöst, nachdem ich das CPU/ABI-Image von "Google Play ... (x86)" in "Google API ... (x86)"

geändert habe
Verwandte Themen