Android Studio Gradle Version 5.1.1 Problem

Viewed 419

I have a simple Android app developed in Android studio. When I built it with Gradle 4.10.1, there was no warning or error. After I updated Gradle to Version 5.1.1, I got the following warning:

Task :app:processDebugResources UP-TO-DATE Changing the value for a property with a final value has been deprecated. This will fail with an error in Gradle 6.0.

What do I need to do to remove this warning? Can anybody help? Thank you in advance.

1 Answers

In gradle-wrapper.properties(File Name) change URL of distributionUrl to the following:

distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
Related