当我使用命令ionic cordova run android
时,我使用的是Ionic 2,我有这样的错误:
Fetching plugin "mx.ferreyra.callnumber@~0.0.2" via npm
ERROR running one or more of the platforms: Android SDK not found.
Make sure that it is installed. If it is not at the default location,
set the ANDROID_HOME environment variable.
You may not have the required environment or OS to run this project.
有人能告诉我解决方案吗?
发布于 2017-07-21 15:55:14
确保您安装了Android Studio。如果是,则在Windows %AppData%/Local/Android/SDK
上将错误中提到的环境变量设置为SDK所在的目录
https://stackoverflow.com/questions/45241398
复制