-
Notifications
You must be signed in to change notification settings - Fork 334
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
Error NoClassDefFound on Android #50
Comments
Should be fixed in #46 when the server will be stable for testing and merging. Or you could just build the lib yourself by replacing compileOnly to compile in the gradle build file for the protobuf dependency. |
I'm looking into #46 but I don't understand, in what way is related to my issue? |
Check that line of the commit. |
Is this issue still occurring on latest commit @pompobit |
@Grover-c13 I can't check now, I will be able to do it in a few hours |
@Grover-c13 I can confirm that the issue is gone, thanks |
I'm trying to use these API on Android, I built the bundle, imported in the project and added
compile files('libs/PokeGOAPI-Java_bundle-0.0.1-SNAPSHOT.jar')
on gradle.build (I'm on Android studio).I can correctly build my project and run it, but at runtime when I try to log in (both with PTC and Google) the app crashes.
Here's the log:
So it seems it cannot find anything of POGO library (at runtime, at build time everything is fine).
I'm not sure but searching around seems like it could something related to DeX: http://stackoverflow.com/questions/28283688/noclassdeffounderror-for-jar-library-at-runtime-in-android-studio but I don't know which modules are defined as Application (I guess there aren't).
So, any idea?
And keep up the good work, if I'll find some time I'll contribute too
The text was updated successfully, but these errors were encountered: