android - I have this issue java.lang.NoSuchMethodError -
the project run fine if run descktop version when run android version crush faltal exception glthread java.lang.nosuchmethoderror: com.badlogic.gdx.scenes.scene2d.ui.label.
private void buildelements() { // --------------------------------------------------------------- // background. // --------------------------------------------------------------- //image image = new image(logo, scaling.none); //image.width = width; //image.height = height; // --------------------------------------------------------------- // labels // --------------------------------------------------------------- try{ titlelabel =new label("demo", "large-font", color.yellow, skin); poweredbylabel =new label("demo", "large-font", color.yellow, skin); }catch (exception e) { system.out.println(tag + " ( ) " + e.getmessage()); } table.pack(); addactor(titlelabel ); } seems when comes line titlelabel.... why?
please help!!
check folder label jar is. there might 2 different versions of same or might using older version not contain method.
Comments
Post a Comment