On Updating version my project gradle
to 5.0 release I am getting error in android studio it was working fine with gradle
5.0 rc
3
I have same problem after upgrading to Gradle Wrapper 5.1.rec3. I am back to Gradle 4.6
In gradle-wrapper.properties I changed back from gradle-5.1.1 to distributionUrl=https://services.gradle.org/distributions/gradle-4.10.3-all.zip
For others who have the same problem in IntelliJ:
upgrading to the latest IDE version should resolve the issue.
In my case going from 2018.1 -> 2018.3.3
I upgraded my IntelliJ Version from 2018.1 to 2018.3.6. It works !
I have the same problem after upgrading to Gradle Wrapper 5.0., Now I switch back to 4.10.3 which just released 5 December 2018 based on Gradle documentation and use Android Gradle Plugin: 3.2.1 (the latest stable version).
For anybody facing a similar issue at this point in time, all you need to do is update your Android Studio to the latest version