gluonhq / gluonfx-maven-plugin

Plugin that simplifies creating native images for Java/JavaFX maven projects
BSD 3-Clause "New" or "Revised" License
189 stars 39 forks source link

Fatal error: Current target does not support the following CPU features that are required by the image: [FP, ASIMD] #441

Open Hitzui opened 2 years ago

Hitzui commented 2 years ago

Dear, when trying to run the apk, it launches the message, and that I have tried with a new project, I use wsl, clean the distro in case it was something in the configuration, but it continues to give the same message, please help, I need to do a Program.

Fatal error: Current target does not support the following CPU features that are required by the image: [FP, ASIMD]

jperedadnr commented 2 years ago

Post your GluonFX plugin version, GraalVM version, detailed logs, how do you run the apk and what type of device and the Android version are you using.

Hitzui commented 2 years ago

I have started a new Gluon project, and when creating the Apk, everything is fine, but I use Android studio to test the project, and I get the message, I have installed Ubuntu from Zero, and still not. I hope your help, I use Graalvm according to the documentation, and jdk 11, everything is from scratch, I have not modified the project that is created from gluon.start at all, nor added any library.

Hitzui commented 2 years ago

image

jperedadnr commented 2 years ago

Are you using the Android emulator? That is not supported (the APK doesn't include libraries for the x86_46 architecture), you need to test on a real device.

It might work if you use an emulator of ARMv8.