Android would become the best operating system for mobile devices. Not only is Android open source, but it also comes with a Software Development Kit, which offers the necessary APIs and utilities for developers to easily build powerful applications for Android-powered mobile devices. The following tutorial was created especially for those of you who want to test the Android platform and install various applications, on the popular Ubuntu operating system.
Grab the Android SDK from and save the file on your home folder,then extract it.
Enter the extracted folder, then enter the tools folder and double click the android
file. Click on the "Run" button when you will be asked what you want to
do, and the Android SDK and AVD Manager interface will appear...
Go to the "Settings" section and make sure you check the "Force " box. Click the "Save & Apply" button....
Now go to the "Installed Packages" section and click the "Update All"
button. A window will appear with all the available updates. Click the
"Install Accepted" button...
...and wait for the packages to be downloaded and installed. It will
take a while if you have a slow bandwidth, so go see a movie or
something until it finishes...
Close the update window when it's done and you will see all the installed SDKs in the "Installed Packages" section.
And now, let's create the virtual device. Go to the "Virtual Device"
section and click the "New" button. In the new window do the following:
- put a name to the device(djstava);
- select a target (Android system);
- put the size for the SD Card(it must be less than 2000MiB);
- add the hardware you want have in the emulator.
Click the "Create AVD" button when you're done
setting up the virtual device and wait for it to finish. It takes about
1 minute, and you'll be notified by a pop-up...
Now click the "Start" button, and the "Launch" button from the next dialog, and the emulator will start...
To make things a lot simpler let's create a desktop shortcut, so you
won't have to open the terminal every time and type some command, in
order to start the Android emulator. Therefore, right-click on your
desktop and choose the "Create Launcher..." option...In the Create Launcher window, type "Android emulator" (without quotes) in the Name field, and paste the below line
in the Command field(eg:home/djstava/Workshop/android-sdk-linux_86/tools/emulator -avd djstava). Optionally, you can also put a nice icon if you
click the icon button on the left...
Have a nice trip
djstava
阅读(1846) | 评论(0) | 转发(0) |