Recently I Have updated android studio with build tools and apis.
While syncing current project i am getting error like: "Error Configuration 'compile' is obsolete and has been replaced with 'implementation and 'api'. how to fix this error.
I found a Complete solution for this issue. here is a simple explanation for changes in you build.gradle file.
ref
The compile
configuration is deprecated, so you will have to use implementation
configuration instead. Under dependencies, in your app module's build.gradle, replace compile
with implementation
.
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