I can build an Android Studio project manually (in the editor) but when trying to use the gradlew.bat file to build the same project, it can't find JAVA_HOME.
I don't have Java installed - Android Studio uses a built in version of Java which the command line build should be able to use as well.
How do I set this up?
Everything is up to date (latest Studio & latest gradle version for the project)
I've tried C:\\Program Files\\JetBrains\\PyCharm Community Edition 2019.1.1\\jre64\\bin
& without \\bin
.
这个路径成功了: C:\\Program Files\\Android\\Android Studio\\jre
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.