Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IncompatibleClassChangeError on Android Lollipop #2

Open
inneke-dc opened this issue Jan 4, 2016 · 3 comments
Open

IncompatibleClassChangeError on Android Lollipop #2

inneke-dc opened this issue Jan 4, 2016 · 3 comments

Comments

@inneke-dc
Copy link

In Crashlytics I see a lot of crashes which all come down to the same thing:

Fatal Exception: java.lang.IncompatibleClassChangeError
Couldn't find com.alexgilleran.icesoap.annotation.XMLField.value
libcore.reflect.AnnotationAccess.toAnnotationInstance (AnnotationAccess.java:659)
java.lang.reflect.Field.getAnnotation (Field.java:242)

For example at lines
com.alexgilleran.icesoap.parser.impl.IceSoapParserImpl.onText (IceSoapParserImpl.java:348)
and
com.alexgilleran.icesoap.parser.impl.IceSoapParserImpl.hasProcessor (IceSoapParserImpl.java:381)

These crashes all happen on Samsung devices with Android 5. I'm using version 1.0.7 of this library.

Is there any way this can be fixed?

Thanks in advance.

@AlexGilleran
Copy link
Owner

Egh, it's crap like this that made me give up Android development.

Sorry - honestly I've no idea what Samsung are doing to cause this. GSON has the same issue:
google/gson#726

Reported to Samsung here:
http://developer.samsung.com/forum/board/thread/view.do?boardName=General&messageId=280930

Android Issue is here:
https://code.google.com/p/android/issues/detail?id=172339

@merri-dei
Copy link

@AlexGilleran Did you really give up? I'm starting to feel like giving up, too. We are experiencing the same dilemma with Gson. All happening on samsung devices. It's just so frustrating. Not a single 'solid' work-around is even available.

@AlexGilleran
Copy link
Owner

Yeah, I do web dev in javascript and backend dev in scala now... I got so fed up with Android I ended up buying an iPhone. I have an android app (https://github.com/AlexGilleran/HIITMe) with a 10% crash rate, with all the crash stacktraces deep in Android code with no hope of reproduction. I also find that some percentage of users don't have working sound - once again I can't reproduce it and I have no idea how to fix it, nor any idea of where to start.

Fragmentation in web development is annoying too, but generally a browser incompatibility just results in stuff looking weird - in Android it's nearly always a hard crash as in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants