Giter Site home page Giter Site logo

Comments (2)

ludost avatar ludost commented on June 23, 2024

Hi Jordi,

Can you try the two steps the following accepted Stackoverflow answer mentions:
http://stackoverflow.com/questions/8678630/noclassdeffounderror-for-code-in-an-java-library-on-android

This makes sure that all dependencies are correctly exported in the APK.

Another reason for this specific error could be that part of the app is reloaded by the VM, while other classes are still in memory. This might happen if e.g. a thread remains active while the main activity is reloaded. This might be triggered by putting the app in the background, do some foreground work and returning to the app.

from eve.

ludost avatar ludost commented on June 23, 2024

Ok, after some good searching by @3R1K , he found out this is a secondary issue, triggered by an initialisation error in the UUIDGen class. Basically the UUIDGen class contains a static block, which does network interfacing (obtaining mac-address) which on Android is not allowed in the visualisation-thread. This threw an exception, after which this class was not available for usage anymore, leading to above stacktrace.

A possible workaround can be to make sure the class first gets initialized in a background thread.

from eve.

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.