我已經更新到最新的Android SDK和使用 export JAVA_HOME=$(/usr/libexec/java_home)
.bash_profile中設置JAVA_HOME,和我得到了以下錯誤:assembleDebug錯誤
Error Gradle:
FAILURE: Could not determine which tasks to execute.
* What went wrong:
Task 'assembleDebug' not found in project ':CrystalBall'.
* Try:
Run gradle tasks to get a list of available tasks.
Error: Could not execute build using Gradle distribution
http://services.gradle.org/distributions/gradle-1.6-bin.zip
我已經附上截圖:
我該怎麼辦?
這很奇怪。如果您使用Android Studio創建全新項目,會發生什麼情況?你有同樣的錯誤嗎?另外,如果你使用命令行會發生什麼? –
嗨,這是一個全新的項目,不是從eclipse導入的。我如何從命令行運行它? – thetrystero
重複? http://stackoverflow.com/questions/16580776/android-studio-new-project-can-not-run-throwing-error – naught101