Tips: You may skip any of the sentence with gray in color if you want to have a fast tutorial
*If you are a typical programmer, sure you will know what is Hello World. Hello World is the simplest program/ application that can be ran without error for testing purpose. For me, it is a program that shows the whole picture how an application works. To those who want to know more, this is a full description for it.
Todo List
- Create Android Virtual Device(AVD) - one AVD can be used for all applications
- Create New Project
- Insert programming coding to shows Hello, World! using HelloWorld.java
- In Eclipse, choose Window > Android SDK and AVD Manager.
- Choose Virtual Device in the left panel and click the New button at the top right.
A Create new Android Virtual Device (AVD) window will pop up. - Type Name such as myavd, select target (i personally choose Android 2.1-update, this is the Android version you want to run in your emulator)
All other boxes below can let it as default, then click Create AVD
- Click on the created AVD (myavd) and click Start... if you want to run the emulator. It took me more than two minutes to boot up the emulator using my fsl (f**king slow laptop)! Hopes that it is not happen to your pc, if not, just please be patient.
[2011-07-18 11:54:58 - Emulator] invalid command-line parameter: Files\android-sdk\tools/emulator-arm.exe.
ReplyDelete[2011-07-18 11:54:58 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'.
[2011-07-18 11:54:58 - Emulator] please use -help for more information
error is displayed plz help me!!
This comment has been removed by the author.
ReplyDeleteHi RNZN, i think the error occur when you try to run your project right?
ReplyDeleteIn Eclipse, Go Run->Run Configurations...->
There are 3 tabs,Android;Target;Common
Go to Target tab, at the bottom, "Additional Emulator Command Line Options", clear any inputs.
"Run" again.
This comment has been removed by the author.
ReplyDelete