Git Product home page Git Product logo

Comments (6)

Lonami avatar Lonami commented on May 9, 2024

Maybe we shouldn't update gradle. See this answer on java.lang.NoClassDefFoundError (libgdx).

from klooni1010.

raLaaaa avatar raLaaaa commented on May 9, 2024

Ah thanks for the reply. What a pity.

from klooni1010.

Lonami avatar Lonami commented on May 9, 2024

I've re-ran the setup and used those files, pushed in commit 9c6be35. Could you try again? I've seen some fixes for the weird things one had to do before to change the assets location, so hopefully it's less of a pain to run now.

from klooni1010.

raLaaaa avatar raLaaaa commented on May 9, 2024

Thanks for your help. It still doesnt work but if i try to run the build application it now also displays the following exception (similiar to running the desktop launcher directly via IDE):

It can find the application listener though. So I think it's a step towards the right direction?

Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: ic_launcher/icon128.png

from klooni1010.

Lonami avatar Lonami commented on May 9, 2024

It's weird it still fails like that. Note this line of the mentioned commit, it points to the android/assets folder which contains the ic_launcher/icon128.png file. I'm not sure why it's failing right now.

As a workaround you could try to copy the assets folder to whatever working directory you are on when running, but I haven't had that issue.

from klooni1010.

raLaaaa avatar raLaaaa commented on May 9, 2024

Copying assets in the working directoy fixed it for me! No idea why it exactly did not work though. Thanks for the help!

from klooni1010.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.