参见英文答案 >
Error:Cannot configure the ‘publishing’ extension after it has been accessed3个
将Android Studio升级到2.1预览版3后,我在构建Volley模块时遇到错误.但是,Volley Module在以前的Android Studio版本中成功构建.
将Android Studio升级到2.1预览版3后,我在构建Volley模块时遇到错误.但是,Volley Module在以前的Android Studio版本中成功构建.
Gradle sync Failed: Cannot configure the ‘publishing’ extension after it has been accessed. Consult IDE log for more details (Help | Show Log)
2016-03-18 12:48:56,455 [2693134] WARN – nal.AbstractExternalSystemTask – Cannot configure the ‘publishing’ extension after it has been accessed.
com.intellij.openapi.externalSystem.model.ExternalSystemException: Cannot configure the ‘publishing’ extension after it has been accessed.2016-03-18 12:48:56,455 [2693134] WARN – radle.project.ProjectSetUpTask
2016-03-18 12:48:56,455 [2693134] INFO – radle.project.ProjectSetUpTask – Cannot configure the ‘publishing’ extension after it has been accessed.
谢谢,
解决方法
在我的情况下,我在评论后使用了volley和build.gradle(volley) 申请自:’bintray.gradle’,它有效!!