-
Notifications
You must be signed in to change notification settings - Fork 116
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
DexDebug error #141
Comments
hey @AndyOHart , can you check out this guy and see if you experience the same issues afterwards? https://stackoverflow.com/questions/29016282/jreddit-and-java-lang-noclassdeffounderror-error/30196299#30196299 I've created in |
It got rid of the dependency issues but I still can't run it. UNEXPECTED TOP-LEVEL EXCEPTION:
|
I think this might be the problem. |
Why is there so many methods? The project works fine without including the JReddit library. It's only when I add that in I reach the dex limit |
Probably it takes into consideration methods from the jreddit library or something like that. I can't really explain, I am not an android developer myself, sorry. |
No worries, appreciate the help, hopefully some other Android dev has ran into it and fixed it. |
Have you tried the suggestion of switching to MultiDex, as suggested from the links I provided? |
That did fix the error yeah, thanks. I'm just not sure if there is a better way of doing it |
Hi.
I get around 8 or so issues relating to Dependency, for example:
Warning:Dependency org.apache.httpcomponents:httpclient:4.3.5 is ignored for debug as it may be conflicting with the internal version provided by Android.
Also I noticed that JReddit implements an ridiculous number of External Libraries.
I think this is the main reason for my error, which is:
Error:Execution failed for task ':app:dexDebug'.
How could I resolve this? Is it something that could be fixed with proguard?
The text was updated successfully, but these errors were encountered: