Android編譯工具時,我嘗試建立的APK無法找到ionic2科爾多瓦
ionic cordova build android
突然我遇到這個錯誤
* What went wrong: A problem occurred evaluating root project 'android'.
No installed build tools found. Install the Android build tools version 19.1.0 or higher. 0
我敢肯定,有一個Android的構建工具來自android studio版本(2.1.1 - 22.0.0 - 23.0.0)和最新版本26.0.1
輸出cordova要求
Requirements check results for android: Java JDK: installed 1.8.0 Android SDK: installed true Android target: not installed android: Command failed with exit code ENOENT Gradle: installed /Applications/Android Studio.app/Contents/gradle/gradle-3.2/bin/gradle Error: Some of requirements check failed
,這在使用中AndroidMaifest.xml SDK文件
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="25" />
安裝平臺:的Android 6.2.3
是什麼的'科爾多瓦requirements'要求輸出的任何終端?和AndroidManifest xml中的targetSdkVersion在你的android平臺文件夾中? –
好的..請檢查最後編輯的帖子 –
你的Cordova android平臺版本是什麼? –