PermaLink Android Ant builds and Google Play Services07/26/2013 02:37 AM
For those of you still using Ant to do builds of older Android projects, you may run into an issue.  The Play library has to be included in your project.properties file like so:
  android.library.reference.1=../google-play-services_lib
because it has resources that need to be included.  However, Ant will fail your build because Google no longer provides a build.xml for the Play library.  You can generate the build.xml in the Play library by running ""android update lib-project --path <playlib_path>".  When you run your Ant script to do builds, it'll break the library if you use it in Eclipse so you have to do a Clean on it to force Eclipse to rebuild it.
Hopefully, all this wackiness will go away when Google switches to Gradle for project builds.


Comments :v

No documents found

Start Pages
RSS News Feed RSS Comments Feed CoComment Integrated
The BlogRoll
Calendar
December 2024
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Search
Contact Me
About Ken
Full-stack developer (consultant) working with .Net, Java, Android, Javascript (jQuery, Meteor.js, AngularJS), Lotus Domino