Sunday, December 12, 2010

[android-developers] Proguard problem after 2.3 update

I updated the android 2.3 and when I try to run the proguard builds
that worked before am getting this:

/add-proguard-release.xml:35: Problem: failed to create task or type
proguard
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken
place.

This is on Ubuntu 10.04 with Eclipse 3.5.2 (Galileo). I've tried
pointing to both proguard directories the one I used before than the
one that was installed with 2.3. Also I had to add quotes around the
path or ant would stop dead with those with a classpath error (found
references to this error but only for Windows but quotes worked for
Linux too).

So what has changed? And also aren't we supposed to now be able to do
this with Eclipse rather than going to a terminal and running ant?
It's mentioned in the release notes but I don't see it in Eclipse (and
yes using 8.01 dev tools) nor anything on the Android development
site.

Isn't it fun when you update your app in a few minutes then get to
spend the afternoon trying to figure out some tool error like this to
do your release build?

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate