FileNotFoundException Android logcat errors

后端 未结 3 1738
名媛妹妹
名媛妹妹 2020-12-22 07:15

My game runs correctly when I test the desktop version, but when I launch an android emulator and and try to run the game on the emulator the game closes and I get the logca

3条回答
  •  不思量自难忘°
    2020-12-22 07:44

    You should take a look here and follow these instructions : https://github.com/libgdx/libgdx/wiki/Manual-project-setup#asset-folder-setup

    The Android project has a subfolder named assets, which is created automatically. Files available to the Android application must be placed here. This is problematic, because these same files must be available to the desktop application. Rather than maintain two copies of all the files, the desktop project should be configured to find the assets in the Android project [...]

提交回复
热议问题