简体   繁体   中英

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

在此输入图像描述

Any ideas?

自Android Studio 2.0以来,我不再遇到此问题

在项目级别build.gradle中将gradle版本设置为3.1.0。

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM