Comments (2)
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.
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)
- URL selection change to Map HOT 2
- Several classes not found when running on older Android (I am trying 2.2 / api 8) HOT 1
- getMethods gives null pointer HOT 2
- getServletRegistrations() no such method HOT 1
- Eve-Java: Parameter with a confusing name in Scheduler.createTask
- Plans for a Ruby implementation? HOT 2
- JAVA: Possible bug with @Required(false) parameters HOT 2
- Http Calls fail HOT 1
- christos HOT 1
- JSONRPCException: Couldn't handle XMPP return causing Android ANR errors HOT 4
- Share one xmpp connection (address) over multiple agents HOT 1
- Adding External Jars HOT 2
- Platform shutdown method HOT 1
- Release 2.2.1 HOT 2
- IllegalStateException in JSONRPC.init() HOT 8
- EVE 2.2.0 setRemoveOnCancelPolicy error on Android < 4.4 HOT 5
- Create/Destroy eve agents through methods HOT 1
- @Name for methods? HOT 1
- Obtain the access tag value via JSON-RPC 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 eve.