日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

Android安裝使用過程

系統 2167 0

When Google announced and released Android, back in October 2008, everyone knew that it 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. OK, so let's get started... shall we?

Grab the Android SDK from Softpedia and save the file on your home folder.

Editor's note: The tutorial was rewritten for the new Android 2.0 or later, which provides a graphical user interface to setup a virtual device and the SD card. This makes everything a lot easier. No more command-line madness!

Step 1 - Installing the requirements

Until the download is over, make sure that you have Java installed and the 32-bit libraries (for the x86_64 users ONLY ). If you don't have Java (or the 32-bit libraries), go to System -> Administration -> Synaptic Package Manager ...


...search for openjdk and double-click on the openjdk-6-jre entry...

Review image


...then, search for ia32-libs ( ONLY if you are on a x86_64 machine), and double-click on the ia32-libs entry...

Review image


Now, click the "Apply" button to install the packages. Wait for the packages to be installed and close Synaptic when the process is finished.

Step 2 - Android Setup

When the Android SDK download is over, right-click on the file and choose the "Extract Here..." option...


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...

Review image


Go to the "Settings" section and make sure you check the "Force https://..." 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...

Review image


...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...

Review image


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;
- select a target (Android system);
- put the size for the SD?Card;
- add the hardware you want have in the emulator.

It should look something like this...

Review image


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...


Note: In the above setup, we've created a virtual device for Android 2.0.1 with a 2 GB SD card and the following hardware components: SD?Card, GPS, Accelerometer, Track-ball and touch-screen.

Now click the "Start" button, and the "Launch" button from the next dialog, and the emulator will start...

Review image

?

Review image


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...

Review image


In the Create Launcher window, type "Android Emulator" (without quotes) in the Name field, and paste the below line in the Command field. Optionally, you can also put a nice icon if you click the icon button on the left...

/home/ YOURUSERNAME /android-sdk-linux_86/tools/emulator @ softpedia


Note: Please replace YOURUSERNAME and the name of the Android Virtual Device ( softpedia in our case) with your USERNAME and the name you gave to the virtual device. DO NOT REMOVE the @ sign.

Step 3 - Run applications in Android

All you have to do now is double-click that desktop shortcut you've just created. The Android emulator will start. Wait for the operating system to load...


When the Android operating system has loaded, you can install and test applications. If you are used with the Android platform, you already know how to do that, but if this is your first time... follow the next instructions.

Review image
Android 1.1

?

Review image
Android 1.5


Click the Browser icon, wait for the browser to load and click Menu -> Go to URL . Enter the address from where you can download an Android application with the apk extension. For example, we've easily installed Android's Fortune from Launchpad...

Review image

?

Review image

?

Review image

?

Review image

?

Review image

?

?

Review image


...all you have to do is follow the on-screen instructions!

Have fun, and do not hesitate to comment if you want to know more about Android, or if you're stuck somewhere in the tutorial.

?

本文來自http://news.softpedia.com/news/How-to-Run-Android-Applications-on-Ubuntu-115152.shtml。

Android安裝使用過程


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦?。。?/p>

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 和硕县| 新巴尔虎左旗| 平昌县| 应城市| 克什克腾旗| 甘泉县| 德钦县| 兴山县| 万全县| 张家界市| 安西县| 许昌县| 璧山县| 唐海县| 祁阳县| 洞口县| 错那县| 阜宁县| 林西县| 济宁市| 宣武区| 宝丰县| 中阳县| 西丰县| 射阳县| 临海市| 高淳县| 仲巴县| 花莲市| 垫江县| 宁国市| 赤壁市| 湟中县| 襄樊市| 新疆| 西乡县| 绥中县| 屏南县| 钟祥市| 阿拉善右旗| 景谷|