This message was deleted.
# android
s
This message was deleted.
t
Usually this is due to the CLI environment not being consistent with how android studio invokes gradle. One of the ways to compare is to look at build scans. And you can add this to your settings.gradle to see all the extra bits studio injects when running gradle.
Copy code
println(startParameter)
s
hmm i think it was more to do with gradlew script using the java runtime from the path whereas android studio uses its own java runtime depending on its settings
t
correct. that is what I mean by CLI environment and the studio injected properties. Depending on your IDE config it will inject the studio bundled JRE