Comments (4)
Indeed the used Gradle version is probably not compatible with Java 17. I am not a Gradle expert either, that's why I try not to diverge from the default libGDX project setup too much. It's also the reason why I use this exact Gradle version. However, I think I might have messed something up when updating Gradle the last time. The F-Droid build showed some warning about the wrapper not being the same version that's specified somewhere else. That's still on my TODO list.
The newest Java version that is compatible with libGDX's Android support is 8. I am not sure if you can build the desktop version with a newer Java, I never tried. But I know that the desktop releases run fine with Java 11.
The easiest way to get the build running is probably to install Java 8 alongside your existing Java 17. You then need to point Gradle to Java 8. You could also try Java 11. If you do, please report back. I will adjust the wiki accordingly.
from feudaltactics.
I upgraded the wrapper to version 7.3.3 which is the one used by the setup tool of libGDX 1.11.0.
from feudaltactics.
So, I ended up installing Java8 and all works well. But with the update to grade 7.3.3 this perhaps wasn't even necessary. But I installed Java8 before I realized that this gradle version could be high enough for Java17.
The only thing is, isn't it a configuration error that launching the desktop app can fail when no android environment is present? Why should gradle attempt to compile against android anyway if I specify another target platform entirely? But again, I'm no gradle expert.
from feudaltactics.
Because I was lazy and didn't check the used java version today and actually used the newer one, I can say for a fact now that the new wrapper seems fully compatible with Java 17. Hence, you could edit the wiki to reflect this. Ideally you should point out somewhere that Java 17 isn't necessary, though, some might still use Java 8 and don't have to upgrade because of this project.
from feudaltactics.
Related Issues (20)
- Crash when starting second game HOT 4
- Option to always show current protection level of tiles HOT 2
- Show previously played games. HOT 1
- Strategy guide HOT 2
- Android Virtual Keyboard covers the Seed's Text Input Box HOT 1
- Add adaptive/monochrome app icon for Android 13 HOT 4
- Show number of tiles in enemy kingdoms. HOT 1
- preferences forgotten with flatpak HOT 3
- Possibility to continue watching after being defeated
- Statistics page HOT 2
- Please give feedback about 1.2.0 Release Candidate HOT 4
- Ability to save/copy seed HOT 7
- Move random seed button away from start game button HOT 8
- Crash Report HOT 13
- ConcurrentModificationException Crash HOT 4
- Units can be disposed HOT 1
- Hardware keypad is useless HOT 1
- autoplay HOT 8
- Adversaries do illegal moves HOT 3
- Local multiplayer HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feudaltactics.