How to build LibGDX from source?

六眼飞鱼酱① 提交于 2020-01-17 04:32:12

问题


I am trying hard to build LibGDX from sources (with ANT). I have some minor changes in the native code. I only need compilation for Android.

Theoretically, I've finally managed to compile my C++ files, by switching to Ubuntu (on Windows ANT did not even try to compile). I made some minor changes in .java files. I then ran main Build.xml - the one that builds the jars, and open resultant gdx-setup.jar. Everything installed fine, new projects for eclipse were created.

But my changes were not applied. Auto-completion did not see anything. I also couldn't run the app - java complained, that it couldn't find MyGameClass, even if it was clearly in the core project. Funny thing is, the same exception will come up even when I do not modify anything.

This makes me think, that despite my two days' effort, I still do everything wrong. How should I do it?

来源:https://stackoverflow.com/questions/25270377/how-to-build-libgdx-from-source

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!