libgdx 游戏无法在安卓手机上运行
问题描述
我正在尝试从这个基于 libgdx 的游戏构建 android 游戏但是当我从 http://rengelbert.com 下载的 libgdx 代码移植到 android 游戏时,android 应用程序崩溃了/blog/downloads/froggerLibGDXSource.zip
i am trying to build android game from this libgdx based games but the android app crashes when ported to android game the libgdx code i downloaded from http://rengelbert.com/blog/downloads/froggerLibGDXSource.zip
我已经为这个游戏构建了安卓代码,你可以从这里下载 https://rapidshare.com/files/3456268683/FroggerLibGDXAndroid.zip
and i have build the android code for this game you can download it from here https://rapidshare.com/files/3456268683/FroggerLibGDXAndroid.zip
游戏崩溃并且无法启动请帮我把游戏移植到安卓
the game crashes and not starting Please help me in porting the game to android
这是我收到的错误消息
推荐答案
请试试这个,看看能不能解决崩溃:
Please try this and see if it solves the crash:
转到 Android 项目的属性,确保正在导出 Jars 和桌面项目.检查 Java Build Path -> Order and Export 是否如下所示:
Go to the properties for the Android Project, make sure that the Jars and the Desktop Project are being exported. Check that Java Build Path -> Order and Export looks like this:
如果您想使用与 4.1 不同的 Android 版本,那很好(我只是没有安装其他版本,所以我将其更改为 4.1).
If you want to use a different Android version than 4.1 that's fine (I just don't have other versions installed so I changed it to 4.1).
这篇关于libgdx 游戏无法在安卓手机上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!