Android Auto Problem--black screen, death and other sister methods

Source: Internet
Author: User

Today using the next Android Studio, there are some problems, now the startup process encountered problems and solutions listed, for your reference.

Installation process not much to say, a search on the internet a lot.

Let's just say the question:


1. Unable to start, error:
Failed to allocate Memory:8
This application have requested the Runtime to terminate it on an unusual.
Please contact the application's support team for more information.

Cause: The application memory overrun of the device created in the AVD
Solution: Change the small memory to 512MB more secure








2. The AVD starts up, but it's always black.

Candidate Reason 1: Selected GPU display

Solution: Uncheck the use Host GPU when creating a device in AvD Manager

Candidate Reason 2: environment variable set wrong, if the android_avd_home changed to $android_avd_home is good ~


3. The AVD has been hung on the Android boot page,

Candidate reason 1:SDK position is incorrect.

Check:

Environment variables: Check that the value of the environment variable android_sdk_home is consistent with the SDK manager. If not, the environment variable is changed to

Candidate Reason 2: not enough memory to load up.

My environment is:

Windows7 Intel I3 CPU 3.3GHz

4GB RAM 32bit

Run the time to see the memory occupancy rate of 62%, so restart the machine, go to the command line run emulator @ You create the name of the AVD can appear in the Android emulator home



When you open Android Studio, it's also possible to start emulator in the AVD.

Candidate Reason 3:android SDK installation location is incorrect. I didn't meet this question, but I saw two on my post. The default for Android Studio is to install the SDK in C:\USERS\D390\APPDATA\LOCAL\ANDROID\SDK. StackOverflow Post says if there is a problem with C:\Program files, it is recommended to install it directly under the C drive or the directory location.

Candidate reason 4:SDK version is inconsistent. Recommend that you update the package with SDK manager before run

4. After the simulator is running, the app will not run, prompting for error: Failure [INSTALL_FAILED_OLDER_SDK]

Inconsistent SDK version, workaround:

Open/app_name/app/build.gradle, comment out

1 minsdkversion   2 targetsdkversion 19  

Two lines.

Successful operation after modification of the above issues ~

Reprint Annotated: http://blog.csdn.net/abcjennifer/article/details/42241631

Android Auto Problem--black screen, death and other sister methods

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.