2
Android Studio v3.0과 함께 제공되는 Android Emulator를 사용하여 Ionic (3.16.0) 하이브리드 앱을 테스트하려고합니다. /myapp> ionic cordova build android
빌드가 성공적으로 생성됩니다. 하지만 /myapp> ionic cordova emulate android
을 실행하면 에뮬레이터가 시작되어 화면이로드되지만 에뮬레이터에서 내 앱을 찾을 수 없습니다. 또한 터미널 로그의 스택 추적은 다음과 같습니다.Ionic : Android Emulator Error
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을 가지고있다.
위 로그의 오류 및 에뮬레이터에서 내 앱을 가져 오는 방법에 대한 도움을받을 수 있습니까?