libgdx应用程序无法在Android设备上运行,在桌面上运行正常

时间:2017-04-06 17:48:36

标签: java android-studio libgdx

我正在学习使用libgdx,我尝试运行一个非常简单的应用程序 在我的Android设备上,但它没有打开。我的手机屏幕水平转动然后立即转回。我在桌面上运行时运行正常。我的手机是一块3t。我唯一做的就是在屏幕上显示图像。我没有触及安卓启动器,我的手机启用了usb调试功能。我知道还有其他类似的问题,但我还没有在那里找到解决方案。这就是android studio告诉我的:

04/06 19:37:42: Launching AndroidLauncher
$ adb install-multiple -r -p com.mygdx.game 
D:\JavaGameDev\Game3\android\build\intermediates\split-
apk\debug\slices\slice_4.apk 
Split APKs installed
$ adb shell am start -n "com.mygdx.game/com.mygdx.game.AndroidLauncher" -a 
android.intent.action.MAIN -c android.intent.category.LAUNCHER
Client not ready yet..Connected to process 9593 on device oneplus-
oneplus_a3003-ba73d782
Application terminated.

0 个答案:

没有答案