解决Deprecated Gradle features were used in this build, making it incompatible with Gradle

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
解决Deprecated Gradle features were used in this build, making it incompatible with Gradle_第1张图片

ubuntu下编译安卓程序报错,网上搜了一下没有什么可行的解决方案,故自己动手看了下项目的Gradle设置并解决了这个报错。

  • 在项目的gradle-wapper.properties将distributionUrl修改为对应的版本

解决Deprecated Gradle features were used in this build, making it incompatible with Gradle_第2张图片在http://services.gradle.org/distributions/下找到最新的Gradle
解决Deprecated Gradle features were used in this build, making it incompatible with Gradle_第3张图片

你可能感兴趣的:(Android)