LibGDX logging not showing up in logcat

前端 未结 2 1248
[愿得一人]
[愿得一人] 2021-01-17 09:21

I cannot get LibGDX logging to work in Android Studio. First i thought I had the same problem as my previous question but made sure my app updated on debug.

         


        
相关标签:
2条回答
  • 2021-01-17 10:07

    Use Gdx.app.log or even System.out.println (write sout (syso in eclipse) and enter );

    0 讨论(0)
  • 2021-01-17 10:24

    The default Log level is LOG_INFO. For the Gdx.app.debug call to work, you must first call Gdx.app.setLogLevel(Application.LOG_DEBUG); once (probably the first line in your Game's constructor so you can easily change it).

    0 讨论(0)
提交回复
热议问题