简体   繁体   English

如何更改我的 Android Studio Gradle 模块依赖项?

[英]How do I change my Android Studio Gradle Module dependencies?

I am trying to change my grade dependencies, from 26.1 to 28.00 my sdk version.我正在尝试将我的成绩依赖项从 26.1 更改为 28.00 我的 sdk 版本。 I am doing this because in order to implement Google AdMob I have to have the same grade versions.我这样做是因为为了实施 Google AdMob,我必须拥有相同的成绩版本。

我要更改的依赖项的图片

You have build.gradle at App level and build.gradle at module level.你有应用级别的 build.gradle 和模块级别的 build.gradle。 You have to change the second one.你必须改变第二个。 Otherwise you can use the GUI in Build --> Edit Build Types and in the wizard instead of changing the Build Types you switch to the Properties tab.否则,您可以在Build --> Edit Build Types和向导中使用 GUI,而不是更改 Build Types,而是切换到Properties选项卡。

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

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