4

I have one main application and an Android library project that it uses

I can compile and run the application fine in eclipse

when I try to build the same app using ant I am facing issues

I am not able to get the same result with aapt that eclipse does(in the background)

eclipse plugin seem to merge the resources together (layouts, icons, strings, etc) for both the main app and the library project. Anyone knows how to do this in command line in aapt

Thanks

RBK
  • 2,481
  • 2
  • 30
  • 52
user1753118
  • 89
  • 2
  • 7

2 Answers2

3

Check the documentation: http://developer.android.com/tools/building/building-cmdline.html

It has everything about building without Eclipse.

fcm
  • 6,305
  • 5
  • 24
  • 37
  • Thx but there's absolutely no information about how to build with Android library project. – user1753118 Mar 20 '13 at 11:40
  • it does it out of the box...use the command line to update the project build configuration (see http://developer.android.com/tools/help/android.html command: android update project), it will get the referenced library projects from the project.properties file – Alécio Carvalho Mar 20 '13 at 12:02
0

You can compile your applicaiton without eclipse using this way. Its a perfect idea. Also refer this blog.

Community
  • 1
  • 1
Hardik Joshi
  • 9,477
  • 12
  • 61
  • 113