letz
letz

Reputation: 1792

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?

Upvotes: 13

Views: 7714

Answers (2)

Vijay C
Vijay C

Reputation: 4869

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

classpath 'com.android.tools.build:gradle:3.1.0'

Upvotes: 1

letz
letz

Reputation: 1792

I no longer have this issue since Android Studio 2.0

Upvotes: 3

Related Questions