Comments (2)
This is an issue tracker for bugs with libGDX, and this doesn't look like a bug with libGDX. This seems like a configuration issue with how you're using Android Studio. For help using libGDX and related tools we have the Discord community server: https://libgdx.com/community/discord/
This is probably something quick you can change in the module settings, but it makes much more sense to do this kind of debugging with immediate feedback (such as on Discord) than in stops-and-starts over GitHub Issues. Screenshots would also really help.
The initial projects created by gdx-setup use Java 7 as their language level, which doesn't support lambdas, but if you set source and target compatibility in all places where they are set currently (which could be in other build.gradle files), everything should work if they are all set to VERSION_1_8 as you have it. You may need to change the Project Structure to use a JDK 8 or newer, if somehow it started off using a JDK 7 installation. Project Structure also is where the current language level is stored; it should pick this up from Gradle, but it can be changed temporarily in Project Structure. As always, after changing any Gradle settings you need to sync the project, which the IDE may do automatically for you, or may prompt asking you to sync.
I'm closing this because it isn't a bug. I hope you can get support on the Discord!
from libgdx.
The initial projects created by gdx-setup use Java 7 as their language level, which doesn't support lambdas
This is no longer true as of #7311. I can't think of why lambdas would work in Android projects but not libGDX ones - they're both configured for Java 8 (wouldn't surprise me if Google's Groovy/Java template is no longer getting updated) out of the box, in my experience.
from libgdx.
Related Issues (20)
- Security Vulnerability - Action Required: XXE vulnerability in the newest version of the libgdx HOT 1
- [BUG] - Displaying a texture using the coordinates of an object layer
- Latest Gdx-setup enables proguard minify which breaks skin files HOT 6
- Can not get superdevmode in RELEASE mode for HTML5? HOT 2
- Error with build desktop version HOT 1
- Support for ISO Keyboards HOT 6
- Support for drawable in SelectBox HOT 4
- Use official metal sources HOT 1
- AndroidFragmentApplication dies onPause HOT 1
- Performance issues on Android when enabling config.useGL30 HOT 7
- GWT requests unnecessary microphone permission HOT 5
- Stage.drawDebug does not work in combination with GL3 due to ShapeRenderer shader not being compliant HOT 2
- AndroidPreferences.flush() has no way to enforce synchronous saving HOT 2
- If an animation starts on frame 1 or more, rather than frame 0, AnimationController doesn't animate it properly
- glReadPixels does not support offset parameter crucial to read pixels asynchronously HOT 2
- gdx and gdx.jnigen.loader causes split module issue over package com.badlogic.gdx.utils HOT 6
- GWT preloader doesn't use percent-encoding HOT 2
- performance: unnecessary window.makeCurrent() in LWJGL3 backend HOT 4
- Add arm64 capabilities to Info.plist.xml HOT 1
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 libgdx.