Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrade Android Studio 2.1 Preview3 : Cannot configure the 'publishing' extension after it has been accessed [duplicate]

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,

like image 941
Lavakush Avatar asked Mar 18 '16 07:03

Lavakush


1 Answers

In my case, I was using volley and in build.gradle (volley) after commenting out apply from: 'bintray.gradle' , it worked !!

like image 62
Praveen Yadav Avatar answered Oct 13 '22 13:10

Praveen Yadav