Thanks I will see the file that you request and as soon as I get the
answer or have more doubts I will get back to you.
Thanks again

On Sep 14, 2:10 pm, Xavier Ducrohet <[email protected]> wrote:
> To support library projects properly (with dependencies on library),
> we've had to change this custom task a bit (also did some clean up).
>
> I'd recommend looking at the usage of this task in the new ant rules
> files (<SDK>/tools/ant/ant_rules_r3.xml) to see what's missing.
>
> Xav
>
>
>
> On Tue, Sep 14, 2010 at 7:32 AM, Claudio Veas <[email protected]> wrote:
> > Hello Group, Im having a problem with my ant task that I use to
> > compile my project. The build.xml that I was using with revision 6 of
> > the SDK stopped working after the upgrade of the SDK tools to revision
> > 7 and I havent been able to figure why this happen, all I know is that
> > certain task attributes where deprecated and some warnings came up but
> > when executig apkbuilder, a NulPointerException is thrown and I have
> > not been able to see why.  BTW, I already fixed the warnings of the
> > deprecated tasks so that was not the problem.
>
> > -package-debug-sign:
> > [apkbuilder] Creating android-build and signing it with a debug key...
>
> > BUILD FAILED
> > ..\build.xml:349: The following error occurred while executing this
> > line:
> > ..\build.xml:206: java.lang.NullPointerException
>
> > Line 349 is
>
> >   <target name="-package-debug-sign" depends="-dex, -package-
> > resources">
> >        <package-helper sign.package="true" />  <-- This one
> >    </target>
>
> > and Line 246 is
>
> >    <macrodef name="package-helper">
> >        <attribute name="sign.package" />
> >        <element name="extra-jars" optional="yes" />
> >        <sequential>
> >            <apkbuilder
> >                    outfolder="${out.absolute.dir}"
> >                    apkfilepath="${ant.project.name}"
> >                    signed="@{sign.package}"
> >                    verbose="${verbose}"> <-- This one
> >                <dex path="${intermediate.dex.file}"/>
> >                <sourcefolder path="${source.absolute.dir}" />
> >                <nativefolder path="${native.libs.absolute.dir}" />
> >                <jarfolder path="${external.libs.absolute.dir}" />
> >            </apkbuilder>
> >        </sequential>
> >    </macrodef>
>
> > I really hope you can help me. If you know why revision 7 of the sdk
> > has this problems or at leas if you know how I can go back to revision
> > 6 I would really apreciate ir.
> > Thanks in advance
> > Claudio Veas
>
> > --
> > 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
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
>
> Please do not send me questions directly. Thanks!

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

Reply via email to