当我尝试使用命令行运行时遇到问题
ionic cordova run android
它显示的错误是这个:
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.
但是问题是我在Android Studio中创建了一个设备:
所以我想知道问题可能是什么?谢谢
当尝试使用命令行ionic cordova运行android时,我遇到问题。它显示的错误是这个错误:ERR_NO_TARGET:没有可用的目标设备/仿真器。无法创建AVD ...
可能不是您要寻找的答案,但通常,我使用:ionic cordova build android