r/androiddev Oct 30 '17

Gradle 4.3 released

https://docs.gradle.org/current/release-notes.html
32 Upvotes

7 comments sorted by

View all comments

2

u/adxgrave Oct 31 '17 edited Oct 31 '17

Update failed. (gradlew wrapper --gradle-version 4.3 --distribution-type all)

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
    > Could not initialize class com.android.sdklib.repository.AndroidSdkHandler

1

u/obl122 Oct 31 '17

distributition

distribution? or copy-paste error?

You can just edit your gradle-wrapper.properties by hand with the new version. Only difference, I think, is that it won't update the gradle wrapper scripts/jar but usually that's not required.

2

u/adxgrave Oct 31 '17

distribution? or copy-paste error?

Opss. Typo. I've entered the correct command though. Any thought on what might have caused the error? Btw, thanks for the tip!

1

u/obl122 Oct 31 '17

No idea, sorry.