Skip to content

Instantly share code, notes, and snippets.

@AdamJHowell
Created January 10, 2022 23:06
Show Gist options
  • Save AdamJHowell/5d929c611463c872b0b3ed662e829d38 to your computer and use it in GitHub Desktop.
Save AdamJHowell/5d929c611463c872b0b3ed662e829d38 to your computer and use it in GitHub Desktop.
D:\test\acme>adb devices
List of devices attached
RFCRB1BKSKH device
D:\test\acme>
D:\test\acme>
D:\test\acme>
D:\test\acme>./gradlew installDebug
'.' is not recognized as an internal or external command,
operable program or batch file.
D:\test\acme>gradlew installDebug
Downloading https://services.gradle.org/distributions/gradle-7.3.3-bin.zip
...........10%...........20%...........30%...........40%...........50%...........60%...........70%...........80%...........90%...........100%
Welcome to Gradle 7.3.3!
Here are the highlights of this release:
- Easily declare new test suites in Java projects
- Support for Java 17
- Support for Scala 3
For more details see https://docs.gradle.org/7.3.3/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* Where:
Build file 'D:\test\acme\app\build.gradle.kts' line: 1
* What went wrong:
An exception occurred applying plugin request [id: 'com.android.application']
> 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
BUILD FAILED in 2m 25s
D:\test\acme>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment