I have created an example of jme app that work on desktop android Ios and Vr but there is an issue; i can’t load files from the desktop module but it work fine on Android. i need some help. please. https://github.com/oualidouazrou/jme-example
Hi
Try to add following line to build.gradle file of desktop app inside
dependencies
{
runtime files('../path to assets directory')
}
but a better way might be to put your assets in a separate subproject then add it as dependency for your desktop project. like below
dependencies
{
…
runtime project(':assets')
}
Hope this helps.
1 Like
Here is a simple JME gradle example that has an assets subproject defined in the main gradle file, etc.:
1 Like