Fixed
Status Update
Comments
ga...@google.com <ga...@google.com> #2
The same set of changes builds on linux
vm...@google.com <vm...@google.com> #3
deleted
vm...@google.com <vm...@google.com> #4
➜ My-App git:(feature-agp-7.0) ✗ echo $JAVA_HOME
/Applications/Android Studio Arctic Fox.app/Contents/jre/Contents/Home
➜ My-App git:(feature-agp-7.0) ✗ "/Applications/Android Studio Arctic Fox.app/Contents/jre/Contents/Home/bin/java" --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7281165, mixed mode)
ry...@gmail.com <ry...@gmail.com> #5
Interesting find- tests run fine from Android Studio, but not from the command line (for us).
Running this single test (and probably any test or set of tests) works from AS, but not from the command line:
./gradlew :app-settings:cleanTestDebugUnitTest :app-settings:testDebugUnitTest --tests "com.my.company.settings.DefaultAppSettingsTests"
Description
Over and over I get a message with "using the following JDK location when running Gradle:"
in the first line. It then shows the default location and makes a statement about using different JDK
locations and says something "might" happen.
1) It need to show what the other location is that it things is conflicting with the default.
2) If there's not conflict to report, there should be no message.
3) the "More info..." link goes to a page with all sorts of information about daemons and build environments, but nothing specific to the alleged problem.
Build: AI-212.5712.43.2112.8609683, 202205181650,
AI-212.5712.43.2112.8609683, JRE 11.0.12+7-b1504.28-7817840x64 JetBrains s.r.o, OS Windows 7(amd64) v6.1 Service Pack 1, screens 3440.0x1440.0
AS: Chipmunk | 2021.2.1 Patch 1; Kotlin plugin: 212-1.7.0-release-281-AS5457.46; Android Gradle Plugin: 7.2.1; Gradle: 7.3.3; Gradle JDK: version 11.0.12; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)Source: send_feedback_icon
IMPORTANT: Please read