Error Configuration 'compile' Is Obsolete And Has Been Replaced With 'implementation' And Api
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 rep
Solution 1:
I found a Complete solution for this issue. here is a simple explanation for changes in you build.gradle file.
- You have to replace compile with api where ever you are using any api ref. like: volley, GitHub dependancy.strong text
- You have to replace compile with implementation where ever you are using android library like play-services-maps,appcompat-v7 etc
Post a Comment for "Error Configuration 'compile' Is Obsolete And Has Been Replaced With 'implementation' And Api"