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

0

2 Answers 2

3

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

It has everything about building without Eclipse.

2
  • Thx but there's absolutely no information about how to build with Android library project. Mar 20, 2013 at 11:40
  • it does it out of the box...use the command line to update the project build configuration (see developer.android.com/tools/help/android.html command: android update project), it will get the referenced library projects from the project.properties file Mar 20, 2013 at 12:02
0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.