Android Studio Installation and FAQs

Source: Internet
Author: User

This year's holiday was a little earlier than last year, and came back early. Feel very cool, the results of the computer did not bring back, the tragedy is the tutor let me maintain a previous project, only fart on the fart up AH. Only use your own laptop to build an Android development environment. As the previous stage heard that Android studio was using a cool crooked, he tried to run Android studio on an ultra-card laptop. Wow, Dickens finally turned Android studio into a game. First, the last picture, fast New Year, I wish you all happy!

Android has also started to promote Android studio, the previous website seems to provide Eclipse and ADT package download, it seems not available now. Android Studio Download URL: http://developer.android.com/sdk/index.html. Note : Android Studio requires more than JDK1.7 to install. The installation process is very simple and is not described in detail here.

The first question I encountered was that the first time the installation was completed, the fetching Android SDK component information will be displayed first, and wait a while at setup wizard-downloading The components interface starts with downloading the Andorid SDK, which will wait a long time and finally prompt retry. Retry estimated that there are n times, not OK.

cause of the problem :

Retry n times, the unsuccessful is due to the wall's sake. By the wall this thing sometimes really makes people very silent, fortunately there is a solution ha.

Workaround :

First close the Setup wizard, if you cannot turn off the process manually in Task Manager, and then open the Idea.properties file under the bin directory of the Android Studio installation directory, add a configuration entry that disables the start of running the wizard: Disable.android.first.run=true. And then start the program will open the Project Wizard interface, this time if click Start a new Android Studio project is unresponsive, And the SDK manager under configure is grayed out because the Android SDK is not installed.


This time need to open configure-settings, in the Search box, enter proxy, find the following HTTP proxy, set up a proxy server, Then quit commenting out the configuration item that you added in the Idea.properties profile, reopen Android studio, and just start the wizard to download and install the Android SDK.

Recently Fq have some trouble, you must change the Hosts file frequently. Download the SDK for a long time ... I'm glad to have downloaded it. You can play Android studio. My first Android project was created. But when it's time to run it's tragic.

cause of the problem :

Since I downloaded the SDK in Android System-images is x86. If you want to directly download arm estimates there is no such problem. Why does Android studio offer this HAXM?

Workaround :

What the hell is HAXM?

Inter's official website tells me that the role is to manage the hardware acceleration, it is estimated that the use of this thing simulator will be able to say goodbye to the Eclipse Era turtle speed.

Android SDK has integrated this software, just need to find him, and then install it is.

After the download, its location is placed in this directory:

The download is done by default and is not installed, which requires manual installation. When you double-click the installation, the problem is:

Find a tutorial on helping Inter's official website with this passage:

Intel vt-x not enabled

In some cases, Intel vt-x is disabled in the system BIOS and must is enabled within the BIOS setup utility. To access the BIOS Setup utility, a key must is pressed during the computer ' s boot sequence. This key was dependent on which BIOS was used but it was typically the F2, Delete, or ESC key. Within the BIOS Setup utility, Intel VT May is identified by the terms "VT", "Virtualization Technology", or "vt- D. " Make sure to enable all of the virtualization features.

Link Address: https://software.intel.com/en-us/android/articles/ Installation-instructions-for-intel-hardware-accelerated-execution-manager-windows

If the installation fails, it is mostly the bios inside the "Virtualization Technology" option is not open, go to the BIOS to open it. Some computers do not support "Virtualization Technology" This option, this has no way to use HAXM. Online says there is also a super-fast simulator: Genymotion. Do not know how, do not support HAXM can try this ah.

Reboot the installation and it will succeed! Then run cmd, in the window Input command: SC query INTELHAXM, for viewing.

If the state:4 running instructions are turned on successfully. Otherwise confirm the success in the BIOS. If the switch is successful, run ~/sdk/extras/intel/hardware_accelerated_execution_manager/again Intelhaxm-android.exe program, at the time of installation default 2G memory, that is, your AVD set ROM not more than 2G.

When you run the application again, there is a situation where

D:\USERS\HUTAO\APPDATA\LOCAL\ANDROID\SDK\TOOLS\EMULATOR.EXE-AVD nexus_5_api_21-netspeed Full-Netdelay Noneemulator:device FD:63643 59 329 583

Emulator feel filesystem not up, always black screen. There are a lot of solutions on the web, but I found that I did not download the SDK now completely, causing emulator not to get up. I mistook Google APIs Intel x86 atom System image for the Intel x86 Atom system image. Just check as if the path has x86 (32-bit operating system) or x86_64 (64-bit operating system). Use HAXM speed run emulator or relatively cool crooked, do not believe you to try!

When running the application, emulator successfully ran, showing the beginning of the screen: "Happy New Year!". Using Android Studio to develop applications, it feels very cool. When using XML layouts, you can see the effects directly. When you set the color, you can directly see the effect of the font color on the side bar. There should be a lot of new features, and then slowly share the ha!

References :

Http://www.cnblogs.com/csulennon/p/4178404.html

Http://www.javatang.com/archives/2014/12/10/06411139.html

https://software.intel.com/en-us/android/articles/ Installation-instructions-for-intel-hardware-accelerated-execution-manager-windows

Http://developer.android.com/sdk/index.html

Android Studio Installation and FAQs

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.