Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
I got same problem.

Windows7/64
SDK16 & ADT16

Fix build.xml followings

    <!-- Required pre-setup import -->

    <import file="${sdk.dir}/tools/ant/pre_setup.xml" />

     to

    <import file="${sdk.dir}/tools/ant/build.xml" />

Then execute

>ant debug
Buildfile: ... \build.xml

BUILD FAILED
... \build.xml:168: Missing attribute projectTypeOut


Original comment by [email protected] on 31 Dec 2011 at 3:35

from android-custom-class-loading-sample.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
The build errors are attributed to Ant script changes in recent SDK Tools 
revisions.  Looking into it...

Original comment by [email protected] on 16 Jan 2012 at 5:48

  • Changed state: Accepted

from android-custom-class-loading-sample.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Modified build to be compatible with SDK Tools rev 16.

Original comment by [email protected] on 16 Jan 2012 at 7:33

  • Changed state: Fixed

from android-custom-class-loading-sample.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
build.xml still shows validation errors in eclipse for Android 2.2 
(Gingerbread). The help and -compile targets are flagged as "undefined". 

I'm not at all adept at diagnosing/fixing ant problems. Mainly use maven these 
days. 

Original comment by [email protected] on 12 Feb 2012 at 12:45

from android-custom-class-loading-sample.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
For SDK Tools rev 19 (maybe previous versions IDK) the following error shows:
BUILD FAILED
/home/user/workspace/android-custom-class-loading-sample/build.xml:161: The 
following error occurred while executing this line:
/home/user/workspace/android-custom-class-loading-sample/android-custom-class-lo
ading-sample/build.xml:127: Reference jar.libs.ref not found.

The workaround is to change build.xml:117 from <path refid="jar.libs.ref" /> to 
<path refid="project.libraries.jars" />

Hope this helps!

(Attached modified version of build.xml for rev 19)

Original comment by [email protected] on 18 Apr 2012 at 9:33

Attachments:

from android-custom-class-loading-sample.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.