Open Brennan-W opened 5 years ago
Installed jdk1.8.0_191.jdk and move JDK 11 of of the same directory. The build worked after doing so
I ran into the same problem with the current latest everything installed (JDK 12, Android Studio 3.3.2, Fire 10.0.0.2389).
Since Oracle JDK 8 has been end-of-lifed, the simplest and most sustainable solution going forward is to disable any installed modern JDKs and install Amazon Corretto 8.
More ideally, though, there ought to be a way to set the JAVA_HOME
environment variable when Fire/Ebuild invokes apkbuilder
, so as to configure the correct JDK used just for builds with Fire, without affecting the rest of the system.
Installed Fire, installed Android Studio, cloned this git repository, installed JDK 11 (latest version). When building org.me.firstandroidapp.sln, I get this error: