Android environment Setup data and problem summary during startup

Source: Internet
Author: User

I. Environmental CONSTRUCTION Information

Recommend Google to develop its own Android Studio

Tools can be downloaded from this URL: http://tools.android-studio.org/, directly download the recommended on the line

Second, installation

It is best to specify two directories at the time of installation, one for Android Studio, and one to put the SDK

Simply click on the exe file to run

Iii. Summary of problems encountered during operation, Welcome to Supplement

1. After installing Android Studio, the error is as follows:

Failed to create JVM error code-4

This should generally be caused by insufficient memory, the solution is as follows.

1) Open the Bin directory in the Android Studio installation directory, locate and open the file studio.exe.vmoptions, and modify the code:

-xmx512m for-xmx256m, the newest is-xmx700m, change a little bit to be able

It should open normally after saving.

2) Close the temporarily unused programs or services to make the memory large enough.

2.Unable to access Android SDK Add-on List

When this occurs, click the Cancel button to proceed.

3.error:createprocess error=216, this version of%1 is incompatible with the version of Windows that you are running. Check your computer's system information to see if you need a x86 (32-bit) or x64 (64-bit) version of the program

The problem is due to the reference Java SDK for the development project, which is inconsistent with the native installed Java SDK version

Workaround: After opening the project, change the native Java SDK path in project structure.

Further additions to other issues

Android environment Setup data and problem summary during startup

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.