Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Studio Gradle Build failure #32

Open
adonnini opened this issue Nov 12, 2024 · 0 comments
Open

Android Studio Gradle Build failure #32

adonnini opened this issue Nov 12, 2024 · 0 comments

Comments

@adonnini
Copy link

Hi,

I cloned the project and attempted to open it using Android Studio Koala. The initial gradle file synchronization failed with the following error:

Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

In gradle-wrapper.properties I have

distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip

In build.gradle, I have:

        classpath 'com.android.tools.build:gradle:8.5.0'

I tried different versions of the gradle plugin and of gradle, the synchronization fails always with the same error.

I deleted both the .idea and .gradle folders, and invalidated caches in Android Studio and restarted it. The same failure occurs.

In gradle settings the jdk is jbr-17

Would anyone be able to help me resolve this issue?

Please let me know if you need additional information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant