BigBob
June 14, 2016, 4:36pm
1
Hi there,
I’m currently porting one of my applications over to jmonkey 3.1.
It’s gone pretty smoothly so far as I’ve got the game running in 3.1 and I’m trying to get it working on Android.
My splash screen displays my google play advertisement pops up but it crashes with an Asset Load error:
E/com.jme3.app.AndroidHarness(16014): com.jme3.asset.AssetLoadException: An exception has occured while loading asset: Textures/Hay.jpg (Mipmapped)
Complete Stack Trace:
http://hastebin.com/hotezewika.avrasm
Thanks for reading
EDIT: I notice it’s using the “Desktop Asset Manager” Perhaps this is the reason?
EDIT: Solved By Exporting Hay.jpg to Hay.png
Did you try using a non-progressive jpg? When you export from gimp, you need to uncheck the progressive option if you are targeting android.
1 Like
BigBob
June 15, 2016, 3:45pm
3
@loopsies
I had no idea what the problem was to be honest. This was the same image I had uesd previously in the game.
That may have been the problem.
My current problem is still this:
Hi there,
I’m currently trying out Android 3.1 alpha and I am having trouble with the Android terrain texture.
I have a scene with a terrain and two texture layers. The bottom being grass and the second being a road texture painted in a strip across it.
http://i.imgur.com/rEyrtuS.png
Unfortunately on Android this does not display properly. The road texture is spread out across the entire terrain and big yellow words say “Texture Missing” across it.
http://i.imgur.com/vpaBGBU.png
The grass…
Very sorry but I know nothing about jme terrain. I’d make sure your asset paths don’t start with a leading “/” and jpg textures should be non-progressives for android but don’t know anything else.
Have you tried the terrain test with android see if that works?