[SOLVED] AndroidLocator Asset Locate Issue

Hello Guys,
I was trying to use JME-Vehicles library in my Android project and had an issue while trying to load the vehicles models from the application’s assets folder. It turns out that the assets manager cannot locate assets path starting with “/” and therefore the AndroidLocator tries to remove the first “/” from the given asset path but it won’t resolve the problem if you get an asset path starting with more than one “/” such in the case of jme-vehicles models.
So I changed the commands order to support this case. I checked and it works now.
See pull request: support Android assets paths starting with / by scenemax3d · Pull Request #1577 · jMonkeyEngine/jmonkeyengine · GitHub

Can anyone review & approve?
Thanks!

2 Likes

Done.

2 Likes