Frequently asked questions about the download and installation of Android studio

Source: Internet
Author: User

Bloggers recently studied Android development, using all of Eclipse's most recent blogs when they heard that Androidstudio was Google's launch of the software specifically developed for Android, so it took a day to take a decisive look.

My Computer Configuration: Os:win7_32 bit ram2.41g (available)

      

download for Android Studio :

  I downloaded it on the official website of the Androidstudio Chinese group (http://www.android-studio.org/index.php/download/hisversion/169- Androidstuio-pan-v1-2), the downloaded version is android-studio-bundle-141.1980579-windows.exe. Depending on the operating system to download different versions, I am under this version is 32-bit and 64-bit operating system can be used as long as the launch of a different EXE file can be

Environment configuration installation for Android Studio:

  Install after the download is complete, if you do not configure the computer's JDK will appear the box prompt you can not find the JVM and other things, this time you have to download a JDK install and configure the correct environment variables, the download address is (http://www.oracle.com/ technetwork/java/javase/downloads/jdk7-downloads-1880260.html) Download different jdk (Win32 loaded X86win64 x64) environment variable configuration according to the configuration of your computer ( http://jingyan.baidu.com/article/6dad5075d1dc40a123e36ea3.html) After configuring the environment variables, enter the Java directive and the javac instruction separately in the console if the two commands are working correctly, the configuration is successful.

Operation of the Androidstudio

  After the configuration is correct, re-run Androidstudio still after the problem

This is because the software tries to get the SDK component information from Google, in which case it only needs to be written in the Idea.properties file in the application directory:

Idea.fatal.error.notification=disabled

Disable.android.first.run=true

You can skip this step

Download the SDK and related plugins

When you enter the software, if you create a new app project, you sometimes have an issue with the support version of the error prompt

Error:failed to find:com.android.support:appcompat-v7:21.+

Install Repository and Sync Project

This is the time to open the SDK Manager Update SDK and related plugins here can not Fq Update method is

Open exe folder under the Studio.exe.vmoptions file (32-bit system 64-bit system please open studio64.exe.vmoptions) Add the following statement

-djava.net.preferipv4stack=true
-didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml
-didea.patches.url=http://dl.google.com/android/studio/patches/

Bo Master this machine used to be API19 use Androidstudio downloaded API23 (6.0) updated the following options readers of billions of downloads according to demand

I've updated it all in tools to solve support problems.

About the SDK I think the top three should update the following example image file Some things simulator things can be selected as needed update my update is RAMCPU emulator if you do not update the words open virtual machine may prompt for missing files

After the update, there is also a pit that the preview view does not display properly

This is because the environment you are currently rendering is API23 as long as the rendered version is lowered to normal display.

So that finally you can run an app on the simulator (づ ̄3 ̄) Old toss a big half day.

Summary: 1, do not recommend the Novice use Androidstudio configuration than Eclipse of the ADT Simple rude;

2, Androidstudio on the low-profile computer I feel the comparison card, compile time may be a few minutes longer (may be related to my parameter settings)

Frequently asked questions about the download and installation of Android studio

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.