setelah melakukan coding aplikasi, langkah selanjutnya adalah membangun
aplikasinya.
kompilasi program di android project dilakukan dengan menggunakan "ant".

baru tau ada tool yang namanya "ant", semut :)
ternyata canggih juga nih semut, bisa membangun aplikasi android secara
otomatis.

menurut petunjuk dari SDK Android, ant bisa diberi perintah debug atau
install.
debug, membangun aplikasi untuk fase debuging. sedangkan install melakukan
kompilasi dan langsung diinstall di emulator atau device, sehingga bisa
langsung di test.

ar...@zangetsu:~/Desktop/Hacks/android/HelloAndroid$ ant debug
Buildfile: build.xml
[setup] Project Target: Android 1.5
[setup] API level: 3

dirs:
[echo] Creating output directories if needed...

resource-src:
[echo] Generating R.java / Manifest.java from the resources...
[exec] (skipping backup file
'/home/ardhy/Desktop/Hacks/android/HelloAndroid/res/layout/main.xml~')
[exec] (skipping backup file
'/home/ardhy/Desktop/Hacks/android/HelloAndroid/res/values/strings.xml~')
[exec] /home/ardhy/Desktop/Hacks/android/HelloAndroid/res/layout/main.xml:7:
WARNING: found plain 'id' attribute; did you mean the new 'android:id' name?

aidl:
[echo] Compiling aidl files into Java classes...

compile:
[javac] Compiling 1 source file to
/home/ardhy/Desktop/Hacks/android/HelloAndroid/bin/classes

dex:
[echo] Converting compiled files and external libraries into
bin/classes.dex...

package-resources:
[echo] Packaging resources
[aaptexec] Creating full resource package...
[null] (skipping backup file
'/home/ardhy/Desktop/Hacks/android/HelloAndroid/res/layout/main.xml~')
[null] (skipping backup file
'/home/ardhy/Desktop/Hacks/android/HelloAndroid/res/values/strings.xml~')
[null] /home/ardhy/Desktop/Hacks/android/HelloAndroid/res/layout/main.xml:7:
WARNING: found plain 'id' attribute; did you mean the new 'android:id' name?

debug:
[apkbuilder] Creating HelloAndroid-debug.apk and signing it with a debug
key...
[apkbuilder] Using keystore: /home/ardhy/.android/debug.keystore

BUILD SUCCESSFUL
Total time: 5 seconds


http://kodebiner.blogspot.com/2009/09/building-android-application.html

-- 
{TakeBackTheWeb }

--~--~---------~--~----~------------~-------~--~----~
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to [email protected]

To request to subscribe to this group, please visit the following page:
 http://groups.google.com/group/id-android/subscribe?hl=en-GB

To send a message to the owner, visit the following page:
 http://groups.google.com/group/id-android/post?sendowner=1&hl=en-GB


For more options, visit this group at
http://groups.google.com/group/id-android?hl=en?hl=en-GB

To unsubscribe from this group, send email to
[email protected]

Indonesian Android Community on Facebook

http://www.facebook.com/group.php?gid=112207700729
-~----------~----~----~----~------~----~------~--~---

Kirim email ke