Closed GoogleCodeExporter closed 9 years ago
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 pccraftc...@gmail.com
on 31 Dec 2011 at 3:35
The build errors are attributed to Ant script changes in recent SDK Tools
revisions. Looking into it...
Original comment by fch...@google.com
on 16 Jan 2012 at 5:48
Modified build to be compatible with SDK Tools rev 16.
Original comment by fch...@google.com
on 16 Jan 2012 at 7:33
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 bradjcox@gmail.com
on 12 Feb 2012 at 12:45
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 luisguit...@gmail.com
on 18 Apr 2012 at 9:33
Attachments:
Original issue reported on code.google.com by
complex...@gmail.com
on 30 Nov 2011 at 10:01