I tryed to run Widget-Examples and Example-Foundation-Libraries applications on both simulator and device, it works fine.
Now I’m creating my app, when I run it on simulator it wroks fine, but running it on the device is not, I am getting this error message:
I’m using IntelliJ IDE , version 17.0.10+1-b1087.23 amd64
Microej SDK 6, plugin version 0.8.0
Card used: STM32f7508
VeePort: com.microej.veeport.st.stm32f7508-dk:M5QNX_eval:2.2.0
Your issue can be due to the use of a wrong JDK version. Could you tell me which JDK are you using to run the buildExecutable task and what is its version (32 or 64 bits) ? You can find the JDK used by Gradle in File > Settings... > Build, Execution, Deployment > Gradle > Gradle JVM.
If you use a 32 bits JDK you must replace it by a 64 bits one.
If you use a 64 bits JDK, can you send me the logs that you have when executing the buildExecutable task in verbose mode (./gradlew buildExecutable --info) ?