question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't play the demos

See original GitHub issue

Please ensure you have given all the following requested information in your report.

Issue details

I can’t run/play/download any of the demos located in this site: https://libgdx.com/wiki/start/demos-and-tutorials If I choose WebGL/GWT, it opens a new site but nothing is there. If I choose Android, nothing downloads.

Reproduction steps/code

Even if you think your issue is trivial to reproduce, please supply a SSCCE that demonstrates your issue. This saves time on our end, and makes it much more likely that your issue will be fixed. You can find barebones templates here

Version of libGDX and/or relevant dependencies

Please provide the version(s) affected.

Stacktrace

//Please provide the stacktrace if applicable 

Please select the affected platforms

  • Android
  • iOS
  • HTML/GWT
  • Windows
  • Linux
  • macOS

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Frosty-Jcommented, May 16, 2022

Oh, I thought you meant to replace the current 4 with 1. And yeah, GWT stuff makes its way into other builds - I’ve particularly noticed this when using libraries such as formic and haven’t found a good way to have GWT-exclusive assets. For most projects you can also remove the default shader (think it’s only used for 3D) and font.

1reaction
Frosty-Jcommented, May 15, 2022

Hmm. Which browser? Samsung Internet (based on Chrome), Firefox and the LineageOS Jelly browser could load Space Invaders. That should cover most of the options, unless you have JavaScript disabled.

Yeah, we should probably see if something can be done about copyAndroidNatives. In #6811 (pending review) it’s been changed to run on merge and JniLibFolders - dunno what difference this makes.

Having the native libraries as separate dependencies sounds like it could potentially be a divisive topic, and not just due to probably being a breaking change. In libGDX 1.10.0, armeabi (ARMv5, ARMv6) libraries were dropped, so anyone upgrading had to remove the line defining it from build.gradle. It caused quite a bit of confusion, with many people also removing armeabi-v7a, causing their game to not work on most 32-bit devices. If there was some sort of “meta library”, this grief could have been avoided. At the same time, I do think it’s nice to be able to pick and choose, but the libraries aren’t all that big, especially with AAB removing unneeded ones, so I don’t know how many people actually go removing x86, for example, to save space.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Counter-Strike - Cant play Demos - Steam Community
Hey guys, i downloaded several demos to watch, i put the file in the cs go folder and write playdemo "name".dem but it...
Read more >
Can't play my demos - teamfortress.tv
For some reason I can't play my demo. All I got was this message "CDemoFile::Open: couldn't open file tf2demo1.dem for reading.".
Read more >
So I can't play old demos. :< : r/truetf2 - Reddit
I decided to move my old demos (all from this year and 2012) to another hard drive and now I can't even play...
Read more >
Play - Forums - Demo Wont work? - ESEA
Hi guys, I can't seem to watch my demo from my last pug, i opened it with demoui and playdemo.. Nothing works. ......
Read more >
Forum thread: Can't Play Demo - HLTV.org
Go to CS, Demoui, replays, click the demo, quick loading screen then exits and goes back to the main menu. Check console.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found