android / codelab-android-dynamic-features

Apache License 2.0
123 stars 47 forks source link

Gradle Sync Issue #22

Closed hueyenclave closed 4 years ago

hueyenclave commented 4 years ago

Hi guys,

Following guide steps on Codelab, I cloned project and got issue when open in Android Studio. Please advise

Sync Error:

ERROR: The specified Gradle distribution 'https://services.gradle.org/distributions/gradle-5.1.1-all.zip' does not appear to contain a Gradle distribution.

Execute gradle.bat build command

Exception in thread "main" java.lang.NullPointerException at org.gradle.wrapper.BootstrapMainStarter.findLauncherJar(BootstrapMainStarter.java:38) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:26) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)

Thanks, Huey

pfmaggi commented 4 years ago

Thanks for reporting this. I'm closing this issue because I cannot reproduce it in this codelab.

You may have a corrupted download of the gradle-5.1.1-all.zip file. You may try re-downloading it or start from a fresh copy of this repository.

Please open a new issue if you still encounter this issue.