我正在使用LibGDX开发Android游戏.菜单屏幕中有4个按钮,但ClickListener这些按钮不起作用.
// retrieve the custom skin for our 2D widgets
Skin skin = super.getSkin();
// create the table actor and add it to the stage
table = new Table( skin );
table.width = stage.width();
table.height = stage.height();
stage.addActor( table );
// retrieve the table's layout
TableLayout layout = table.getTableLayout();
// register the button "start game"
TextButton startGameButton = new TextButton( "Start game", skin );
startGameButton.addListener( new ClickListener() {
@Override
public void clicked(InputEvent event, float x, float y) { …Run Code Online (Sandbox Code Playgroud) 我的应用程序中有一个SQLite数据库.当我在文件资源管理器中检查数据库是否已创建时,该data文件夹中没有任何数据库文件.它甚至没有显示使用该adb shell命令.这是否意味着尚未创建数据库?关于如何解决这个问题的任何建议?