简体   繁体   English

Android项目中的Gradle错误

[英]Gradle error in Android project

Can anyone help me to solve this problem? 谁能帮我解决这个问题?

'com.android.support:appcompat-v7:26.1.0' error 'com.android.support:appcompat-v7:26.1.0'错误

If you sync your gradle (use the 'Sync Now'), you shouldn't have any problems, this is just a warning. 如果您同步了gradle(使用“立即同步”),则应该不会有任何问题,这只是一个警告。

If, however, you want to get rid of this warning, you'll have to manually change the versions of your dependencies. 但是,如果您想摆脱此警告,则必须手动更改依赖项的版本。 As stated in the warning, you are using three different versions in similar dependencies. 如警告中所述,您正在使用三个具有相似依赖性的不同版本。 You should pick one version (usually the newest) and use it. 您应该选择一个版本(通常是最新版本)并使用它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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