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

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

Open
AbhiAndroidManiac opened this issue Feb 23, 2020 · 29 comments

Comments

@AbhiAndroidManiac
Copy link

Building the project in Android studio 3.6 rc version giving above error. And the project doesnt build.

@Android1968
Copy link

Same error here,trying to import a project.

@Aiuspaktyn
Copy link

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

Same problem on Windows, on Mac it's working fine

@AbhiAndroidManiac
Copy link
Author

Building the project in Android studio 3.6 rc version giving above error. And the project doesnt build.

I resolved it by changing the build gradle to existing android studio version.

@Nmanou
Copy link

Nmanou commented Mar 3, 2020

i have same issue after updating to 3.6.1. if anyone have a solution please tell me. it gives me
headache.

@ghost
Copy link

ghost commented Mar 3, 2020

I solved it changing the gradle version of the project to the newest version 6.2.1 on the project structure options.

image

i have same issue after updating to 3.6.1. if anyone have a solution please tell me. it gives me
headache.

@Nmanou
Copy link

Nmanou commented Mar 4, 2020

I solved it changing the gradle version of the project to the newest version 6.2.1 on the project structure options.

image

i have same issue after updating to 3.6.1. if anyone have a solution please tell me. it gives me
headache.

it resolve my issue. thanku so much for your time................

@YOON677
Copy link

YOON677 commented Mar 26, 2020

Why the above solution requires you to reconfigure gradle after every project creation.

@daniel3133
Copy link

لقد قمت بحلها بتغيير الإصدار التدريجي للمشروع إلى الإصدار الأحدث 6.2.1 على خيارات هيكل المشروع.

صورة

لدي نفس المشكلة بعد التحديث إلى 3.6.1. إذا كان أي شخص لديه حل من فضلك قل لي. يسبب لي
الصداع.

I need help please

@InnocentKyalo
Copy link

I currently have the same issue and I have tried the suggested solutions. Unfortunately, none of them worked. Anyone who can help?

@markosekula
Copy link

I also have the same problem, installed Android Studio v3.6.2, 3 days ago. Does someone have a proposal about what I can do?

@markosekula
Copy link

I currently have the same issue and I have tried the suggested solutions. Unfortunately, none of them worked. Anyone who can help?

Did you find some solution in meanwhile?

@Anaeligbo-Joseph
Copy link

Checked my build.gradle (project) file for error fixed the problem. It was badly reconstructed at run-time.

@reimondpc
Copy link

build.gradle

dependencies {
    classpath 'com.android.tools.build:gradle:3.5.0'
}

it's working fine

@arpit999
Copy link

I solved it changing the gradle version of the project to the newest version 6.2.1 on the project structure options.

image

i have same issue after updating to 3.6.1. if anyone have a solution please tell me. it gives me
headache.

You are a life saver

@sary-huang
Copy link

I solved it changing the gradle version of the project to the newest version 6.2.1 on the project structure options.

image

i have same issue after updating to 3.6.1. if anyone have a solution please tell me. it gives me
headache.

tks,the problem have been resolved by update gradle version to 6.2.1

@Parvane1989
Copy link

I have same issue after updating to 3.6.3. I solved it by changing the API level and Android version in the start of creating new project.
Inkederrore_LI

@Adorna-R
Copy link

Adorna-R commented May 27, 2020

In my case, the name had an apostrophe, so I had to put a "\" before it in the settings.gradle.
For example, 'D'Antojo' → 'D\'Antojo'

@abrahimzaman360
Copy link

I have the same problem. will someone fix this error.

@abrahimzaman360
Copy link

abrahimzaman360 commented Jun 1, 2020 via email

@Rohitohlyan66
Copy link

In my case, the name had an apostrophe, so I had to put a "" before it in the settings.gradle.
For example, 'D'Antojo' → 'D'Antojo'

Thanks Dude ,it worked for me

@ZionCloud
Copy link

I also have the same problem, installed Android Studio v3.6.4, 3 days ago. Does someone have a proposal about what I can do?

@Bimi124
Copy link

Bimi124 commented Oct 18, 2020

I have Android Studio version 4.1...
I tryed changing to grandle version 6.2.1 but I got an error this would be too old... :-(

@tpjwm
Copy link

tpjwm commented Jan 29, 2021

I had this issue, and nothing would work, until I reinstalled everything into the same drive. Originally had Android Studio on a portable drive but apparently that was causing issues. So I just put reinstalled it on the drive with my windows installation.

@ayeshajagirdar
Copy link

i have same issue after updating to 3.6.1. if anyone have a solution please tell me. it gives me
headache.

just restore the android studio to default settings.
close your current project and then goto to configure in bottom and you have option "Restore Default Settings" Then click okay for everything it will be working fine

@ayeshajagirdar
Copy link

i have same issue after updating to 3.6.1. if anyone have a solution please tell me. it gives me
headache.

just restore the android studio to default settings.
close your current project and then goto to configure in bottom and you have option "Restore Default Settings" Then click okay for everything it will be working fine

@saumilvaghelaGS
Copy link

You have to check the error logs properly, My Issue was I have changed the JDK version and it's conflicting the problem to generate build and compile the project.

@mohan1361
Copy link

Screenshot 2022-01-06 23 38 31
You go to the project structure and go to the dependency section, download updates will be coming, after updating the build will be successful.
'androidx.annotation:annotation:1.3.0' and update gradel JDK Embedded JDK Version in gradel settings.

@Husnainfarooq
Copy link

Building the project in Android studio 3.6 rc version giving above error. And the project doesnt build.

i resolved it with re-import the project android studio suggestion

@Cyclotron17
Copy link

How to resolve this issue in the latest android studio versions?

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