我最近将Android Studio更新到2.0版:Beta 7.我正在尝试使用Instant Run,我刚刚安装了Gradle 2.0.但是由于与bintray.gradle相关的错误,现在我无法编译我的项目
当我编译时,我收到以下错误:
Error:Cannot configure the 'publishing' extension after it has been accessed.
Run Code Online (Sandbox Code Playgroud)
调试器错误:
Error:FAILURE: Build failed with an exception.
* Where:
Script 'C:\Project\AtkApp\volley\bintray.gradle' line: 43
* What went wrong:
A problem occurred evaluating script.
> Cannot configure the 'publishing' extension after it has been accessed.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Run Code Online (Sandbox Code Playgroud)
Bintray.gradle:
buildscript {
repositories {
jcenter()
}
dependencies { …Run Code Online (Sandbox Code Playgroud)