Error:Cannot configure the 'publishing' extension after it has been accessed

后端 未结 4 507
伪装坚强ぢ
伪装坚强ぢ 2020-12-15 22:31

Error:Cannot configure the \'publishing\' extension after it has been accessed.

I am getting this error after updating my android studio.

this is my app.grad

4条回答
  •  执念已碎
    2020-12-15 23:07

    This error comes from volley module, I solved this problem by doing as follows: open volley module, find bintray.gradle file and change

    publishing {
       publications {...}
    }
    

    to

    publishing.publications {...}
    

    then it will work just fine.

提交回复
热议问题