Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cannot apply 'android-reporting' in gradle file

When I put apply plugin: 'android-reporting' in my project level build.gradle file as suggested here, gradle sync fails throwing

Caused by: java.lang.IllegalArgumentException: Cannot add extension with name 'android', as there is an extension already registered with that name.

Can somebody help what could be happening here. I am at latest version of gradle plugin.

like image 655
Praveen Pandey Avatar asked Aug 09 '26 21:08

Praveen Pandey


1 Answers

You need to apply it at the end of the root build.gradle


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!