Your First Android Project
If you have more than one emulator AVD or device available, you will then
get an option to choose which you wish to run the application on.
Otherwise, if you do not have a device plugged in, the emulator will start up
with the AVD you created earlier. Then, Eclipse will install the application
on your device or emulator and start it up.
Step #2: Command Line
For developers not using Eclipse, in your terminal, change into the
Skeleton/Now directory, then run the following command:
ant clean install
The Ant-based build should emit a list of steps involved in the installation
process, which look like this:
Buildfile: /home/some-balding-guy/projects/Skeleton/Now/build.xml
[setup] Android SDK Tools Revision 8
[setup] Project Target: Google APIs
[setup] Vendor: Google Inc.
[setup] Platform Version: 2.1-update1
[setup] API level: 7
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup]
[setup] WARNING: No minSdkVersion value set. Application will install on all
Android versions.
[setup]
[setup] Importing rules file: tools/ant/main_rules.xml
clean:
[delete] Deleting directory /home/some-balding-guy/projects/Skeleton/Now/bin
-debug-obfuscation-check:
-set-debug-mode:
-compile-tested-if-test:
-dirs:
[echo] Creating output directories if needed...
[mkdir] Created dir: /home/some-balding-guy/projects/Skeleton/Now/bin