After local.properties, the next problem sounds like your script is
missing a "setup" call.
<!-- Execute the Android Setup task ...
This will ensure that the properties are setup correctly
but that your customized build steps are used.
-->
<setup import="false" />
It's not too difficult to incorporate Proguard, and the payback can be
significant in some situations.
For a sample template, see the "optimize" target in the zxing source:
http://code.google.com/p/zxing/source/browse/trunk/android/build.xml
Joe
On Jul 31, 7:38 am, sblantipodi <[email protected]> wrote:
> Wow, thanks this maked me goes forward to next error :)
> thanks...
>
> Target "package-resources" does not exist in the project
> what does it means, how can I specify package-resources?
>
> Thanks.
>
> On Jul 30, 11:34 pm, Miguel Morales <[email protected]> wrote:
>
>
>
> > Make sure you have the included files such as:
> > <property file="local.properties"/>
>
> > Which should have:
> > sdk.dir=/path/to/sdk_root
>
> > <property file="build.properties"/>
> > Which should have:
> > sdk-location=/path/to/sdk_root
>
> > and
> > <property file="default.properties"/>
>
> > Which should have:
> > target=android-3 ##or whatever
>
> > On Fri, Jul 30, 2010 at 12:00 PM, sblantipodi
>
> > <[email protected]> wrote:
> > > done, same problem... :(
>
> > > On Jul 30, 7:46 pm, Mark Murphy <[email protected]> wrote:
> > >> If this is a normal Android project, run android update project -p
> > >> ..., where ... is the path to your project, and it will create or
> > >> repair your local.properties file.
>
> > >> On Fri, Jul 30, 2010 at 1:31 PM, sblantipodi
>
> > >> <[email protected]> wrote:
> > >> > I have listed it in the main.xml, the problem seems that ant doesn't
> > >> > find the SDK...
> > >> > if you found my error on google
> > >> > "taskdef class com.android.ant.SetupTask cannot be found"
> > >> > you will find dozens of people with my same problem,
> > >> > but I can't find a solution yet...
>
> > >> --
> > >> Mark Murphy (a Commons
> > >> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> > >> _Android Programming Tutorials_ Version 2.9 Available!
>
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to [email protected]
> > > To unsubscribe from this group, send email to
> > > [email protected]
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> > --http://developingthedream.blogspot.com/,http://diastrofunk.com,http:/...,
> > ~Isaiah 55:8-9
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en