PlayN,Android版本的新项目出现错误
我一直在关注 http://code.google.com/p 上的 PlayN 初学者教程/playn/wiki/BeginnerInstallationGuide
所以基本上我已经下载了 PlayN 源代码,设置了一个新的 Maven 项目。 然后,桌面 Java 版本将按所述运行。对于 Android 版本,我收到此错误: E/AndroidRuntime?(370): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1180)
我按原样保留生成的源,有任何线索吗?
I've been following the beginner PlayN tutorial at http://code.google.com/p/playn/wiki/BeginnerInstallationGuide
So basically I've downloaded PlayN sources, setup a new Maven project.
Then, the Desktop Java version runs as described. With the Android version, I get this error: E/AndroidRuntime?(370): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1180)
I left the generated sources as is, any clues?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前无法通过 Eclipse 测试 Android。如果您想在 Eclipse 中测试 PlayN 游戏,则需要通过命令行来完成,如下所示:
另外,由于模拟器中对 OpenGL 的支持缺乏或有限,我不认为您当前可以使用模拟器进行测试。因此,您需要在真实设备上进行测试。
Testing Android via Eclipse is not currently working. If you want to test a PlayN game in Eclipse, you need to do it via the command line, like so:
Also, I don't believe that you can currently test using the emulator due to lacking or limited support of OpenGL in the emulator. So you'll need to test on a real device.