Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Error while compile release apk with proguard #18

Closed
willyantows opened this issue Jan 8, 2015 · 6 comments
Closed

Error while compile release apk with proguard #18

willyantows opened this issue Jan 8, 2015 · 6 comments

Comments

@willyantows
Copy link

I got warning message when I build release apk for my app
"Warning: com.instagram.common.json.annotation.processor.JsonAnnotationProcessor: can't find referenced field 'javax.annotation.processing.ProcessingEnvironment processingEnv' in program class com.instagram.common.json.annotation.processor.JsonAnnotationProcessor"

But when I add "-dontwarn com.instagram.common.json.annotation.processor.", it can be fixed.
Does not matter if I put "-dontwarn com.instagram.common.json.annotation.processor.
" in proguard file? Thanks

@ttung
Copy link
Contributor

ttung commented Jan 8, 2015

Yes, that warning is safe to ignore.

@ttung
Copy link
Contributor

ttung commented Jan 8, 2015

@willyantows
Copy link
Author

Yes, I already did using
-dontwarn sun.misc.Unsafe
-dontwarn javax.annotation.**
-dontwarn com.instagram.common.json.annotation.processor.**

@ttung
Copy link
Contributor

ttung commented Jan 9, 2015

Ah okay. The readme should probably be updated. :/

@willyantows
Copy link
Author

Yes. And please give more example code. :)
Like this problem #14 Consider support for serialization/deserialization of top level arrays
Thank you.

@ghost
Copy link

ghost commented Aug 4, 2015

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

@ttung ttung closed this as completed Jul 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants