Home » Developing U++ » Android » Android Builder (Android Builder failed to build for android. Javac file not found error is occuring.)
Re: Android Builder [message #57379 is a reply to message #57359] |
Sun, 25 July 2021 19:01 |
|
Klugier
Messages: 1076 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello RapidUser,
At the begging I would like to thank you for your report.
I made several fixes to AndroidBuilder in order to support JDK grate than 8. Right now it should work fine with all versions above 8. 7 is no longer supported. I tested on JDK 16 and it works as expected. Please try tomorrows (2021-07-26) nightly build. Also, I updated the documentation, however not everything is changed. Right now you need to download Android Studio and make configuration basing on it. Downloading SDK separately is no longer supported.
For some reason the path you are referring to is invalid:
D:\Installed\upp\out\examples\Android_Builder.Debug.Linux.No blitz.Posix\Sandbox\AndroidMath\AndroidProject\java\AndroidM ath\Vector.java // <- Yours
D:\Installed\upp\out\examples\Android_Builder.Debug.Linux.No blitz.Posix\Sandbox\AndroidMath\AndroidProject\java\AndroidMath\Vector.java // <- Valid (AndroidMath should be together without space)
Right now, I did not have opportunity to test this on Windows and it might be platform specific bug, however on Linux everything works as expected. I will try to test Windows version soon.
Here is my build method from Linux that compiles examples/AndroidMath (anroid-30 platform version is for Android 11 and the produced apk will be valid for that system and above):
Klugier
U++ - one framework to rule them all.
[Updated on: Sun, 25 July 2021 19:05] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Apr 29 01:50:12 CEST 2024
Total time taken to generate the page: 0.04015 seconds
|