build.xml required for every library now? [r14 preview]

2,591 views
Skip to first unread message

Christopher Orr

unread,
Oct 4, 2011, 11:00:37 AM10/4/11
to adt...@googlegroups.com
Hi there,

The info at http://tools.android.com/recent/buildchangesinrevision14
says that "for Ant [library] users there are no changes in workflow",
however I'm currently not able to build my project with r14.

The end of the Ant output says:


-build-setup:
[echo] Building Libraries

BUILD FAILED
/home/orrc/android/sdk/tools/ant/build.xml:466: Invalid file:
/home/orrc/some-project/some-library/build.xml


To me, this suggests that:
- the final documentation should mention this new requirement
- the warning output by Ant should be nicer, i.e. "you need to run
'android update lib-project'" rather than "Invalid file"


Regards,
Chris

Christopher Orr

unread,
Oct 12, 2011, 5:20:31 AM10/12/11
to adt...@googlegroups.com
Just wanted to check if the below is correct, i.e. library users need to
run "android update lib-project" for each library and check-in the
build.xml etc?

Thanks,
Chris

Xavier Ducrohet

unread,
Oct 12, 2011, 1:51:03 PM10/12/11
to adt...@googlegroups.com
Yes, libraries have to be built now so they should have their own
build.xml file (as well as project.properties, local.properties, ....)

--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

Reply all
Reply to author
Forward
0 new messages