-
Notifications
You must be signed in to change notification settings - Fork 175
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
Fatal Exception: java.lang.NoSuchMethodError: No virtual method getAnnotationsByType #218
Comments
In order to make |
@tonymanou, did you mean 2.9.6? Version 1.9.6 does not exist but 2.9.6 worked for me. |
I had the same problem and specifying version 2.9.6 worked for me, too. |
@tonymanou Thanks, this worked for me. |
Just ran into this same issue. Are there any plans to support starting from API 21? Or is the module definitely going to stay at 24+? |
I don't know if we have anyone actively developing this module at this point. I can (and do) cut new releases as part of release process but can only make smallest changes as I do not use Kotlin myself. Given this it might be useful to bring up the question of Kotlin module development on Jackson mailing list(s) to see if anyone could step up to help. |
This is an issue with Android not supporting a JVM method to find annotations by type. I'm not sure when that was added to Java, but maybe can be replaced with similar handwritten function. |
Fixed on branch 2.10 |
This doesn't seem to be fixed in 2.10.0 yet, but is supposed to be part of 2.10.1 or 2.11? |
@0megaD it is fixed on the 2.10 branch, and pending a release. You can test it from the branch to help verify the problem is resolved. There might be snapshot builds available as well. |
likely on: https://oss.sonatype.org/content/repositories/snapshots
|
Sorry I meant #130. Thanks again. |
Great, seems like your issues were all tied up in this release then. |
How can I add that snapshot as a gradle dependency? Or am I supposed to download it somehow? I'm not familiar with how this works 😬 Tried adding this to my dependencies block, but it didn't work
|
Yes, that looks correct. maybe this module isn't building to snapshots. @cowtowncoder can you push a snapshot release? |
Otherwise you can build to a local repo by pulling that branch and issuing a Maybe @cowtowncoder can push a snapshot release instead. |
Was about to suggest local publish. Snapshots work bit better with Maven than Gradle, since they are Maven concept (gradle is pushing in bit different direction). I can publish snapshot that from home tonight. Could try automating publishing via Travis, I think it works for databind. Just bit of a process to get credentials there lined up, repository by repository. |
Did push snapshot deploy last night, should be available. No auto-build still. |
Awesome got it working, thanks! |
version 2.9.8
I think this error is bron on version 2.9.7 , I have tested it on different android version and it is only crash below android 7.0 . it`s means that if android os version is 7.0+ this library is work good if not the error of above will shown.
The text was updated successfully, but these errors were encountered: