Is it possible to use both the Android Eclipse plugin and the Android command-line tools on a single project?
I'm on a team with some members who like to the use the Android Eclipse plugin and some who like to use other editors and therefore use the Android command-line tools. We're about to start a project with members from both camps, so I'm wondering if it is possible to use both the Eclipse plugin and the command-line tools at the same time so that everyone can work in their preferred environment.
Personally, I've been using VIM and the command-line tools for Android development so far. I had a look at the Eclipse plugin to see if interoperability with the command-line tools would be possible, but it seems开发者_如何学Go that the plugin does not generate any of the Ant build files that the command-line tools use. Is there some way to make the Eclipse plugin generate these files?
That shouldnt be a problem...
Eclipse builds the app and produces a .apk file like on the fly where if you want to use the command line you have to follow a different procedure..
Read this: http://developer.android.com/guide/developing/building/index.html and in particular
"if you are developing in a non-Eclipse environment, you can build your project with the generated build.xml Ant file that is in the project directory. The Ant file calls targets that automatically call the build tools for you."
精彩评论