I just created a simple application that manipulates an image and everything works fine on the Simulator from MicroEJ SDK, Then I built the project to get the virtual device, However, when I launch it I get the following error:
init/imageGen/internal: [ImageGenerator] 1 : IMAGE GENERATOR ERROR [ImageGenerator] [M6] - Invalid image path [ImageGenerator] (line 5 of C:\[...]\platform\firmware\javaLibs\com.example.test.jar[resources/images/test.images.list]) [ImageGenerator] /resources/images/image1.png [ImageGenerator] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
However my image is available in the package
I have tried with a simple resource and
- with the simulator,
getResourceAsStream()returns an input stream.
- with the virtual device,
For some reason, my image is not taken into account, Do you have an idea ?