我正在尝试在 android 模拟器中运行我的 IONIC 应用程序,但它一直给我这个错误!!!我设置了
ANDROID_HOME=C:\Program Files\Android\Android Studio\bin,
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_111
Run Code Online (Sandbox Code Playgroud)
[native-run] No hardware devices found, attempting emulator...
[native-run] ERR_NO_TARGET: No targets devices/emulators available. Cannot create AVD because there is no suitable API installation. Use --sdk-info to reveal missing packages and other issues.
[ERROR] An error occurred while running subprocess native-run.
native-run.cmd android --app platforms\android\app\build\outputs\apk\debug\app-d... exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
Run Code Online (Sandbox Code Playgroud)