I am trying to get libgdx gradle project to work on AIDE. AIDE is an app on android that acts like a IDE. It doesnt seems to work as the buildconfig.java does not have the package name generated. Anyone have any workaround?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
Ok, I've got my project compiling. What I did was...
Et Voila!
At least it's working for me.
@thhVictor, "It doesnt seems to work as the buildconfig.java does not have the package name generated"
It's because AIDE tries to treat regular java project (which is LibGdx project named "core") as android project. You can check it youself navigating to core/ directory and see that AIDE shows option "open this Android App project" instead of "Open this Java project". After opening and clicking "run" you'll see your error
You have 2 options:
gradle-based https://github.com/Deepscorn/libgdx-gradle-template/blob/master/README.md#aide
eclise project files based http://deepscorn.blogspot.ru/2016/07/building-and-running-android-studio.html
Both requires to do things by hand. But I prefer gradle-based because it's modern thing and so I hope AIDE devs will make support for regular java projects which are gradle-based
Seems that AIDE's got a new interative course on using libGDX
Here is my solution:
First copy core/src folder to android/src folder Then copy libs folder from a project to android folder
Only problem i had was libgdx.jar file of Aide was older version.I downloaded latest version of gdx and copied jar files to libs folder.