Giter Site home page Giter Site logo

Comments (5)

czyzby avatar czyzby commented on May 20, 2024

It's possible that the latest released Autumn version is out of sync with the latest LibGDX, hence the ClassNotFoundExceptions. You can either downgrade to LibGDX 1.9.6 or move to snapshot releases of the Autumn library (1.9.1.9.10-SNAPSHOT).

from gdx-lml.

tommyettinger avatar tommyettinger commented on May 20, 2024

I'm working on this now; last I checked the snapshot repo was down for some reason, so I'm using jitpack.io to attempt to handle the dependencies. Unfortunately, the build is failing on gdx-autumn's natives, which seem to have their own dependency mismatch issues inside gdx-lml. This build failure causes the JAR for autumn to be empty except for a META-INF folder. I'm probably going to just copy large parts of gdx-lml into gdx-liftoff to avoid having to deal with Gradle here.

Relevant part of the build log, https://jitpack.io/com/github/czyzby/gdx-lml/eadeb8193d/build.log :


> Task :autumn:natives:android:compileJava FAILED
warning: [options] bootstrap class path not set in conjunction with -source 1.7
/home/jitpack/build/autumn/natives/android/src/main/java/com/github/czyzby/autumn/android/scanner/AndroidClassScanner.java:12: error: package com.github.czyzby.autumn.scanner does not exist
import com.github.czyzby.autumn.scanner.ClassScanner;
                                       ^
/home/jitpack/build/autumn/natives/android/src/main/java/com/github/czyzby/autumn/android/scanner/AndroidClassScanner.java:21: error: cannot find symbol
public class AndroidClassScanner implements ClassScanner {
                                            ^
  symbol: class ClassScanner
/home/jitpack/build/autumn/natives/android/src/main/java/com/github/czyzby/autumn/android/scanner/AndroidClassScanner.java:22: error: method does not override or implement a method from a supertype
    @Override
    ^
3 errors
1 warning

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':autumn:natives:android:compileJava'.
> Compilation failed; see the compiler error output for details.

from gdx-lml.

czyzby avatar czyzby commented on May 20, 2024

@tommyettinger Run gradle installAll, this should correctly link the dependencies between the modules. Gradle setup of this repository is not ideal, to say the least.

from gdx-lml.

czyzby avatar czyzby commented on May 20, 2024

Snapshot release should work though, have you included the snapshots repository in your Gradle setup?

from gdx-lml.

tommyettinger avatar tommyettinger commented on May 20, 2024

I was getting a 502 Bad Gateway from https://oss.sonatype.org/content/repositories/snapshots/com/github/czyzby/ earlier today; it seems to have been on Sonatype's side and has resolved.

I can't get jitpack.io to run installAll without adding a jitpack.yml file to the repo root to tell it how to build; this doesn't matter if the snapshots work again. I wound up copying autumn, autumn-mvc, part of autumn's natives, lml and lml-vis into gdx-liftoff for the current release, which now uses libGDX 1.9.10 . I hope everything is working OK now in gdx-liftoff, @theresajayne !

from gdx-lml.

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.