2017-11-04 10 views
2

Android Studio v3.0に付属のAndroidエミュレータを使用してIonic(3.16.0)ハイブリッドアプリをテストしようとしています。 /myapp> ionic cordova build androidは正常にビルドを作成します。しかし、/myapp> ionic cordova emulate androidを実行すると、エミュレータが起動して画面が読み込まれますが、エミュレータで自分のアプリケーションを見つけることができません。また、端末ログにスタックトレースを以下に見られる:Ionic:Androidエミュレータエラー

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. 

を私はADBサーバーを実行およびプラットフォームのツールパスは、システムのPATHに追加しました。私はコルドバ6.5.0を持っています。

上記のログのエラーと私のアプリケーションをエミュレータで起動する方法について助けを得ることができますか?

答えて

2

この問題は、CPU/ABIイメージを「Google Play ...(x86)」から「Google API ...(x86)」に変更した後に解決されました

関連する問題