我剛剛將我的構建工具和我的gradle插件版本升級到0.14.0。Android Studio:Gradle構建失敗,錯誤:無法加載類'com.android.build.gradle.ndk.NdkPlugin'
搖籃版本 - 2.1 Android的工作室 - 0.9.3
當想要做我的項目的建設我本身在下面的錯誤 -
Error:Unable to load class 'com.android.build.gradle.ndk.NdkPlugin'. Possible causes for this unexpected error include:
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
- Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network)
- The state of a Gradle build process may be corrupt. Stop Gradle daemons and sync project
我都試過上述選項並且升級了我所有的SDK組件,我仍然看到這個問題。
任何幫助將不勝感激。
你是否也試圖清理你的項目? – 2014-11-21 09:33:25
它工作:)非常感謝 – Tushar 2014-11-21 09:52:51