Android Studio series-HelloWorld

Source: Internet
Author: User
Tags android sdk manager

Android Studio series-HelloWorld
Android Studio series-HelloWorld preface Hello everyone, here is the opening article about how to use Android Studio to develop Android apps. First of all, why Android studio is used for Android development? because of its unique advantages, it is an integrated development tool developed by Google for Android, currently, the ADT Bundle development tool integrated with Eclipse is unavailable on the official website. Google will gradually abandon Eclipse and make Android Studio the preferred IDE for developers, I don't know much about the advantages of Android Studio. You should know that the current version is very useful. before Google releases the official version, Xiao Wu is still in the wait-and-see status, it is not officially used. After the official version 1.0 is released, I will immediately update and use it. The following is a simple record of the experience in using Android Studio.

Development Environment: Java Runtime Environment (including jdk and jre. You can go to the Oracle official website and download java 1.7. 1.8 may be incompatible. We recommend that you use version 1.7 here) android Studio (this download to the official website: http://developer.android.com/sdk/index.html)


Here, Wu uses the mac version, and windows students choose the windows version.
The wall flip problem has been around for a long time, and Android Developers are also suffering from it. Previously, the Goagent can be used to achieve the wall flip, and the free door software can also be used, but the effect is not very good, it is recommended that you buy a VPN if you want to better learn and develop Android. configuring a VPN will help you with the VPN service provider you purchased.Yunti", I feel pretty good. I bought one hundred yuan a year, so you don't have to worry about the inconvenience caused by the wall. Time is very important for our developers, and it's easy to spend a little money.

After downloading and installing Android Studio prompts Android studio was unable to find a valid JVM solution a blogger has provided a solution, see here: http://blog.csdn.net/b275518834/article/details/42556483

Well, if the Java Runtime Environment is OK, Android Studio can be started successfully. Let's start using it to create our HelloWorld.





After the creation is complete, the paste is purple:


Little Wu in the corresponding location marked, the following describes the use of Genymotion to run our development program, first we have to go to the Genymotion official website registration download: https://www.genymotion.com /#! /Download: After the download is complete, log in to the account to download the specified version of Android virtual machine, as shown below: Android 4.4.4, Nexus 5 device:
Add components in Android Studio:

After the tool is restarted, The Genymotion icon is displayed on the toolbar. You can use the Genymotion installation directory.

Click to run

At this point, we can quietly run HelloWorld to a virtual machine, two steps, like the devil's pace...


We can also use the Android SDK Manager to install the hardware accelerator to speed up the running of built-in virtual machines created by Android. However, we recommend that you use Genymotion to improve the speed and development efficiency.

This blog post will introduce you here,
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.