2017-06-15 73 views
1

我試圖建立自己的Android應用程序,並在過去的5日子過得怎麼樣一個錯誤:離子的Android構建在Mac

Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. 

我已經試過各種方法來解決這個問題,並沒有什麼作品。我即將放棄,因爲我真的不知道該做什麼。任何可能遇到類似問題的人的建議或建議將受到高度讚揚!

這是爲什麼的原因:

Requirements check results for android: 
Java JDK: installed 1.8.0 
Android SDK: installed true 
Android target: not installed 
Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable. 
Gradle: not installed 
Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. 
Looked here: /usr/local/Caskroom/android-sdk/25.2.3/tools/templates/gradle/wrapper 

Requirements check results for ios: 
Apple OS X: installed darwin 
Xcode: installed 8.3.2 
ios-deploy: installed 1.9.0 
CocoaPods: installed 
Error: Some of requirements check failed 

回答

1

我不知道你有什麼問題,但我想我會,我已經找到了一些資料回答/我的信息需要從你:

你有沒有通過https://ionicframework.com/docs/intro/deploying/ Android部分(安裝Android Studio,Java JDK等)。只是要求確定。

這是在現有的項目或全新的?如果您有機會,您應該使用其中一個空應用模板進行一次嘗試。有時這可以幫助您將其縮小到工作流程的挑戰,因爲根據我的經驗,項目越大,發現問題就越困難。

+0

我試過了,完全相同的問題!由於某些原因,我無法讓我的SDK工作.... – Dimitri

相關問題