Android Programming Tutorials

(Romina) #1
Your First Android Project

[mkdir] Created dir: /home/some-balding-guy/projects/Skeleton/Now/gen
[mkdir] Created dir: /home/some-balding-guy/projects/Skeleton/Now/bin/classes

-pre-build:

-resource-src:
[echo] Generating R.java / Manifest.java from the resources...

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

-pre-compile:

compile:
[javac] /opt/android-sdk-linux/tools/ant/main_rules.xml:361: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to
false for repeatable builds
[javac] Compiling 2 source files to /home/some-balding-
guy/projects/Skeleton/Now/bin/classes

-post-compile:

-obfuscate:

-dex:
[echo] Converting compiled files and external libraries into /home/some-
balding-guy/projects/Skeleton/Now/bin/classes.dex...

-package-resources:
[echo] Packaging resources
[aapt] Creating full resource package...

-package-debug-sign:
[apkbuilder] Creating Now-debug-unaligned.apk and signing it with a debug key...

debug:
[echo] Running zip align on final apk...
[echo] Debug Package: /home/some-balding-guy/projects/Skeleton/Now/bin/Now-
debug.apk

BUILD SUCCESSFUL

Total time: 4 seconds

Note the BUILD SUCCESSFUL at the bottom – that is how you know the


application compiled successfully.


When you have a clean build, in your emulator or device, open up the


application launcher, typically found at the bottom of the home screen:


8
Free download pdf