Android 2.2 + xlifMyGame doesn't answer

Phone: LG P920 Optimus 3D

Android Version : 2.2


I begin “Hello Assets” turorial , after resolve this issue :

I’ve a new error message box : xlifMyGame doesn’t answer

When I launch the application, I have a black screen during near of 5mn then I have the message box (with the choice close or wait). If I choose “wait” and I see my teapot and my wall.

package mygame;


import com.jme3.font.BitmapText;

import com.jme3.light.DirectionalLight;

import com.jme3.material.Material;

import com.jme3.math.Vector3f;

import com.jme3.scene.Geometry;

import com.jme3.scene.Spatial;

import com.jme3.scene.shape.Box;

import com.jme3.math.ColorRGBA;

/** Sample 3 - how to load an OBJ model, and OgreXML model,

  • a material/texture, or text. */

    public class Main extends SimpleApplication {

    public static void main(String[] args) {

    Main app = new Main();




    public void simpleInitApp() {

    Spatial teapot = assetManager.loadModel(“Models/Teapot/Teapot.obj”);

    Material mat_default = new Material(

    assetManager, “Common/MatDefs/Misc/ShowNormals.j3md”);



    // Create a wall with a simple texture from test_data

    Box box = new Box(Vector3f.ZERO, 2.5f,2.5f,1.0f);

    Spatial wall = new Geometry(“Box”, box );

    Material mat_brick = new Material(

    assetManager, “Common/MatDefs/Misc/Unshaded.j3md”);



    //mat_brick.setColor(“Color”, ColorRGBA.Blue);




    // Display a line of text with a default font


    guiFont = assetManager.loadFont(“Interface/Fonts/Default.fnt”);

    BitmapText helloText = new BitmapText(guiFont, false);


    helloText.setText(“Hello World”);

    helloText.setLocalTranslation(300, helloText.getLineHeight(), 0);



    I think it’s again a buffer problem. My CPU works to the maximum of those possibilities.

    Could you please, help me?

    I can see some error message on my computer:

    D/dalvikvm( 6607): GC_FOR_MALLOC freed 7501 objects / 396128 bytes in 42ms

    D/dalvikvm( 6607): GC_FOR_MALLOC freed 528 objects / 236976 bytes in 39ms

    W/System.err( 491): at org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(Native Method)

    W/System.err( 491): at org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocket(

    W/System.err( 491): at

    W/System.err( 491): at

    W/System.err( 491): at

    W/System.err( 491): at

    W/System.err( 491): at

    W/System.err( 491): at

    W/System.err( 491): at

    W/System.err( 491): at

    W/System.err( 491): at

    W/System.err( 491): at

    W/System.err( 491): at

    W/System.err( 491): at

    D/GsmDataConnectionTracker( 278): [GsmDataConnectionTracker] rx 18528, tx 12384

    D/GsmDataConnectionTracker( 278): Fast dormancy check PDP num =1

    D/GsmDataConnectionTracker( 278): 2g screen on) Set Timer to 1000

    Thanks in advance

    Best regards


This exception is not from JME, the problem with the default adb output is that you have every log of every single application running on your phone.

Now about the black screen, maybe you could try to comment some parts of the code to see what’s causing the issue (5min loading is not normal).

If I change the line:

Spatial teapot = assetManager.loadModel(“Models/Teapot/Teapot.obj”);


Spatial teapot = assetManager.loadModel(“Models/Teapot/Teapot.mesh.xml”);

there is no issue.