After Upgrading Android Studio to 2.1 preview 3, I am getting error while building Volley Module. However Volley Module was building successfully in Previous Android Studio Versions.
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.
Please provide any solution if anybody is able to resolve this problem.
Thanks,
In my case, I was using volley and in build.gradle (volley) after commenting out
apply from: 'bintray.gradle'
, it worked !!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With