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

后端 未结 4 514
伪装坚强ぢ
伪装坚强ぢ 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 23:13

    I have faced the same issue after upgrading to latest studio.

    I am not sure about the root cause but what I did is

    comment below line from volley build.gradle

    apply from: 'bintray.gradle'
    

    As I can see there many project are there in you dependencies. If possible comment same from all and try syncing again.

提交回复
热议问题