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

Gradle task assembleDebug failed with exit code 1 #58

Open
wudug opened this issue Apr 2, 2022 · 1 comment
Open

Gradle task assembleDebug failed with exit code 1 #58

wudug opened this issue Apr 2, 2022 · 1 comment

Comments

@wudug
Copy link

wudug commented Apr 2, 2022

  • What went wrong:
    A problem occurred evaluating project ':app'.

Failed to apply plugin 'com.android.internal.application'.
Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing org.gradle.java.home in gradle.properties.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

@AkshaySiddannavar
Copy link

Hi there, looks like a similar question has been answered on stackoverflow please do check it out once :

https://stackoverflow.com/questions/68878785/failed-to-apply-plugin-com-android-internal-application-android-gradle-plugin

Mainly you will need to :

  1. update your Java in your system to JAVA 11
  2. update build.gradle and Gradle
  3. Create jitpack.yml file

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

2 participants