if file : gradle.properties
add the line :android.useAndroidX=true
> Failed to apply plugin 'com.android.internal.application'.
> Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
Your current JDK is located in /usr/lib/jvm/java-11-openjdk-amd64
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in your project's local properties file at '/home/mikeh/BasicLocationSampleKotlin/local.properties'.
--warning-mode all
./gradlew app:dependencies
developer android report bugs
Bug reports require following info (4 lines) - as well as other info - This is to say that a distinction is made between Gradle and Gradle Plugin (aka AGP)
Studio Build:
Version of Gradle Plugin:?
Version of Gradle:?
Version of Java:?
OS: Windows 10
issue tracker