我有一个Ionic项目,我正在尝试导入、编译并使用AndroidStudio运行模拟器。我导入了<project_name>/platforms/android文件夹下的所有文件,并在AndroidStudio下打开它。Install the Android build tools version 19.0.1 or higher.消息。
我还试着使用命令提示符构
当我运行sudo ionic build android时,我得到以下错误
Error: Failed to find 'ANDROID_HOME' environment variable.Failed to find 'android' command in your 'PATH'.我在‘/opt’里面解压了android-sdk,android命令从终端运行得很好。我在~