Post
by SteveB » Fri Aug 25, 2023 1:55 pm
Hello Panos,
Thank you for your reply.
I did have build tools 30.0.3 installed when I got the Could not link resources error
Upgrading build tools to 31.0.0 gave me the JAVA_HOME invalid directory error
However, I have now fixed the problem. The JAVA_HOME invalid directory error is the clue.
I have been using Oracle Java idk 1.8.0_341 to build Android Apps using LC versions up to and including 9.6.9 successfully, but it appears that 9.6.10-rc-1 doesn't like that version, and updating to 1.8.0_381 didn't help.
I had already suspected that the problem was with Java rather than my Android Studio settings, so I decided to try another flavour of Java.
I downloaded OpenLogic-OpenJDK 1.8.0_382 - and SUCCESS! I can now build Android Apps again.
So my setup is macOS Monterey, SDK Platform API 33, SDK Tools 31.0.0, OpenLogic-OpenJDK 1.8.0_382
Build tools 30.0.3 do not work!
For some reason I have never had the JDK path autofill in the LC Preferences panel on macOS, so had to open the Project Browser, then View - Show IDE Stacks in Lists, then navigate to revPreferencesGUI - Mobile Support - Android SDK - and reveal the Choose SDK button to select the OpenLogic JDK manually.
Hope this helps anyone else having issues building Android with 9.6.10-rc-1