且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android Studio构建工作,Gradle命令行失败

更新时间:2023-01-02 23:06:51

For anyone facing this issue in the future, for the command line build make sure your JAVAHOME is set to JDK v8:

JAVAHOME=C:\Program Files\Java\jdk1.8.0_112

Or where ever your 1.8 JDK is. It is a beast and sucks up memory but it was the only way to get around this build error. I would NOT recommend that you build in Android Studion with 1.8 since it seems to require Jack which is just plain slow. And sadly it is deprecated to boot.

相关阅读

技术问答最新文章