I've been having a problem with obfuscating my code using ProGuard. I've tried all the suggestions on the other, similar questions on here and still it doesn't work.
Essentially, here are all the facts I can glean from the situation:
- My libraries are set up so that ViewPagerIndicator is referenced by ActionBarSherlock, which in turn is referenced by FormulaeLib which is referenced by the app, FormulaePro.
- trying to use ant also fails, with errors at
<sdk_dir>/tools/ant/build.xml
lines 485, 602 and 622 - commenting out the proguard configuration in project.properties will give a successful build.
- I'm using ProGuard 4.7
UPDATES:
- I've now traced this problem back to my CursorLoader implementation. I've had so many problems with this, I have now just gone back to using the (deprecated) managedQuery(..) method of loading cursors.
The end of the console output:
[2012-01-06 17:45:07 - FormulaePro] applyFileOverlay for mipmap
<lots of "new resource id" things>
[2012-01-06 17:45:43 - FormulaePro] (new resource id view from D:\Dropbox\Android\FormulaeLib\res\menu\view.xml)
[2012-01-06 17:45:43 - FormulaePro] Writing symbols for class R.
[2012-01-06 17:45:43 - FormulaePro] Writing symbols for class R.
[2012-01-06 17:45:43 - FormulaePro] Writing symbols for class R.
[2012-01-06 17:45:43 - FormulaePro] Writing symbols for class R.
[2012-01-06 17:45:45 - FormulaePro] Starting full Package build.
[2012-01-06 17:45:45 - FormulaePro] Skipping over Post Compiler.
So, can someone much cleverer than me figure out what the heck is going on?