Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot resolve symbol MavenDeployment on gradle

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

enter image description here

Any ideas?

like image 875
letz Avatar asked Oct 08 '15 16:10

letz


People also ask

Can not resolve symbol in android?

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.


2 Answers

I no longer have this issue since Android Studio 2.0

like image 182
letz Avatar answered Sep 20 '22 22:09

letz


Making gradle version as 3.1.0 in the project level build.gradle fixed it.

classpath 'com.android.tools.build:gradle:3.1.0'
like image 43
Vijay C Avatar answered Sep 18 '22 22:09

Vijay C