當我嘗試運行離子2應用ionic2 Android組建錯誤
ionic run android
它停止,如下錯誤離開。請幫我解決這個問題
FAILURE: Could not determine which tasks to execute.
* What went wrong:
Task 'wrapper' not found in root project 'android'.
* Try:
Run gradle tasks to get a list of available tasks.
BUILD FAILED
Total time: 1.435 secs
Error: /usr/share/gradle/bin/gradle: Command failed with exit code 1
我離子信息是
Cordova CLI: 7.0.0
Ionic Framework Version: 3.1.1
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.7
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.2
Node Version: v7.4.0
Xcode version: Not installed
平臺列表
Installed platforms:
android 6.2.3
Available platforms:
blackberry10 ~3.8.0 (deprecated)
browser ~4.1.0
ubuntu ~4.3.4 (deprecated)
webos ~3.7.
對不起,我無法弄清楚到底發生了什麼錯誤。但是您是否嘗試單獨安裝Gradle? –
我能看到的是它缺少項目根目錄中的'wrapper'任務\ –
是的,我安裝了Gradle –