-
Notifications
You must be signed in to change notification settings - Fork 20
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
VerifyError on searchSeries before android 5.0 #11
Comments
I noticed that I have an missing dependency for commons-lang3 (it's inherited from api-common), I don't know if that's the issue your are facing, but I have added an explicit dependency now. Other than that, unless <android 5.0 doesn't have URLEncoder, I don't know what might be the issue |
Thank you, I'll try to update my commons-lang3 dependency and I'll let you know. |
Sorry, I don't have any experience in android development (yet) |
Hi, I tried but nothing changed. Can I add your library using grandle to make sure it's not a dependencies problem? |
Sure, if there is anything I need to add, please let me know |
Ok thank you |
Tried but nothing changed. I really do not know why it is only working after android 5.0 . Hope I'll figure out what that VerifyError is before my exam |
Does this happen with any other methods? |
I have not tried any other methods yet but it does connect to thetvdb with the given API key. It's just when I call the search method but it could happen in other methods which I have not checked yet. |
Could you check the other methods? I'd like to see if it's something specific to that method or common across methods |
Sure, give me a couple of minutes |
Checked on other methods such as getAbsoluteEpisode,getWeeklyUpdates,getAllEpisodes,getActors and getSeries and I still get the same exception : |
I think this may be an issue with the DOMParser. From what I have read there may be some incompatibility between a "full" java implementation and the android API implementation. I will try and work out what method is called that causes the issue and see if I can work around it. If you can provide any further stack trace or errors that might locate the issue, that would be great |
I really thank you for your time. |
I am still looking into this. I am creating my own android project to try and find the issue |
Ok I really thank you for your time and your effort! |
Sorry to disturb you again. I don't think this problem is related to your APIs but I don't know how to resolve it.
When running on android >= 5.0 everything works fine. If I run it in android < 5.0 it'll crash when calling searchSeries (when creating a TheTVDBApi it does not crash) and the exception says :
Caused by: java.lang.VerifyError: com/omertron/thetvdbapi/tools/TvdbParser
at com.omertron.thetvdbapi.TheTVDBApi.searchSeries(TheTVDBApi.java:362)
Do you have any suggestions? The dependencies should be right because it shouldn't work on >=5.0 if it is a dependencies problem.
I thank you for your time.
The text was updated successfully, but these errors were encountered: