Jump to content


Photo

Build failed


  • Please log in to reply
No replies to this topic

#1 gizmogary

gizmogary

    GMC Member

  • New Member
  • 1 posts
  • Version:Unknown

Posted 31 January 2013 - 11:49 AM

Hi all,

New to GM but getting there... but so far have not been able to complie an apk, get this error everytime...

BUILD FAILED
...\Development tools\adt-bundle-windows-x86_64\sdk\tools\ant\build.xml:881: The following error occurred while executing this line:
...\Development tools\adt-bundle-windows-x86_64\sdk\tools\ant\build.xml:883: The following error occurred while executing this line:
...\Development tools\adt-bundle-windows-x86_64\sdk\tools\ant\build.xml:895: The following error occurred while executing this line:
...\Development tools\adt-bundle-windows-x86_64\sdk\tools\ant\build.xml:290: null returned: 2

What i'm doing is not very far along not don't seem much that can go wrong... maybe its something to do with my settings?
SDK is all updated and checks fine in GM...
This is the part in the xml it is referring to... something to do with dex? Its lost me...

<dex executable="${dx}"
                    output="${intermediate.dex.file}"
                    dexedlibs="${out.dexed.absolute.dir}"
                    nolocals="@{nolocals}"
                    forceJumbo="${dex.force.jumbo}"
                    disableDexMerger="${dex.disable.merger}"
Line 290        verbose="${verbose}">
                <path path="${out.dex.input.absolute.dir}"/>
                <path refid="out.dex.jar.input.ref" />
                <external-libs />
            </dex>
<do-only-if-manifest-hasCode elseText="hasCode = false. Skipping...">
            <!-- only convert to dalvik bytecode is *not* a library -->
            <do-only-if-not-library elseText="Library project: do not convert bytecode..." >
                <!-- special case for instrumented builds: need to use no-locals and need
                     to pass in the emma jar. -->
                <if condition="${build.is.instrumented}">
                    <then>
                        <dex-helper nolocals="true">
                            <external-libs>
                                <fileset file="${emma.dir}/emma_device.jar" />
                            </external-libs>
                        </dex-helper>
                    </then>
                    <else>
                        <dex-helper />

Hoping someone can help...
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users