Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2129243
  • 博文数量: 229
  • 博客积分: 7217
  • 博客等级: 上校
  • 技术积分: 3224
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-19 17:23
个人简介

个人主页https://xugaoxiang.com,微信公众号: Dev_Club 或者搜索 程序员Club

文章分类

全部博文(229)

文章存档

2017年(1)

2016年(20)

2015年(23)

2013年(1)

2012年(23)

2011年(68)

2010年(62)

2009年(31)

分类: LINUX

2010-04-08 11:59:16

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) |
给主人留下些什么吧!~~