Thursday, September 6, 2012

[android-developers] Eclipse, ProGuard and "Build automatically"

Hi all,
I'm using for the first time ProGuard, and I'm facing a strange situation where, with Build Automatically enabled, exporting the signed app package causes the final apk to miss some classes from the project. Randomly (for what I can see) ProGuard complains about missing referenced classes -- classes that are in my project, even same package as referencer. Linked projects and other dependencies are fine.

Is this a known issue? is there a better solution than unchecking autobuild feature? I looked for "proguard build automatically" in bug reports but I couldn't find any. I wanted to send a report but it seems I can't reproduce the problem with a simple procedure. Actually sometimes I can't at all.

Here some more information: http://stackoverflow.com/questions/12292760/building-with-proguard-ignores-android-app-classes

Andrea

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment