Scene 3D objects throw exception on Android devices
Ashley Hales
ashley.hales at ntlworld.com
Fri Nov 15 15:14:27 UTC 2024
Hi,
I posted a thread some time ago about Scene 3D objects causing a error when
they try to create the shader. At the time I was advised to recompile the
project using the new Gluon library rather than JavaFXPorts. I have now
done this but the result is not compatible with my device. I have found
that the Gluon project works fine on a Motorola device running Android 13
and the JavaFXPorts project works on an old Samsung device running Android
4.4.2. However the Gluon project won't even install on my intended target
device, which is an MBOX running Android 6.0.1, but the JavaFXPorts project
installs fine but throws 'java.lang.RuntimeException: Error creating shader
program' on the MBOX. I have found that the MBOX will run projects not
containing any 3D objects, for example the two sample projects included in
the Dalvik SDK - Ensemble8 and HelloAndroid - work fine. Is there any way
around this using the JavaFXPorts technology as this has produced the best
results? When I try to do a push install to the MBOX using ADB it gives an
error of 'Failure [INSTALL_FAILED_NO_MATCHING_ABIS]'. My searches online
indicate that this may be due to the version of the NDK it was compiled with
but I have found that the project only seems to compile with the Android 21
NDK.
Thanks for your help,
Ashley
--
This email has been checked for viruses by Avast antivirus software.
www.avast.com
More information about the openjfx-dev
mailing list