Tuesday, August 16, 2011

Re: [android-developers] How to build an Andorid eclipse project from command line

On Tue, Aug 16, 2011 at 8:27 AM, Tiklu <tikluganguly@gmail.com> wrote:
>      Can you please let me know how can I build an android project
> created using eclipse (ADT) through command line? I tried using the
> following command
>
> eclipsec -noSplash -data . -application
> org.eclipse.jdt.apt.core.aptBuild
>
> Please do note that "." is my eclipse workspace directory.
>
> but it did not worked. Any suggestions will be much appreciated.

Step #1: Run `android update project` to build the command-line files required

Step #2: In the project directory, run `ant clean install` (or
whatever combination of Ant targets you want)

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment