I've an app and a library that supports the app, everything is fine ( I can compile the app with the library dependency
And the build.gradle
file is always with this error:
Cannot resolve symbol MavenDeployment on gradle
Any ideas?
Most often “R cannot be resolved” error appears if there is an issue with some of your resource files. Due to this error, you are unable to build your application. That's why we need to solve this error as it not getting away by just doing a simple restart or hitting Alt+Enter.
I no longer have this issue since Android Studio 2.0
Making gradle version as 3.1.0 in the project level build.gradle fixed it.
classpath 'com.android.tools.build:gradle:3.1.0'
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