Problems frequently encountered during installation and testing of the android Development Environment

Source: Internet
Author: User
You can find a lot of information on how to install the android development environment on the Internet. The following is a summary of several problems and solutions that often occur during the installation process.

1. RunningProgramThe following error reports are displayed:

Panic: cocould not open: C: \ Documents ents and Settings \ Administrator \. Android/AVD/my_avd.ini

Cause: the default path of the android SDK is c: \ Documents ents and Settings \ Administrator \. If you set the path to your path in the system environment variable, for example, D: \ android.

Solution: (1) Create a New System variable in the environment variable: android_sdk_home = D: \ android_emulator

(2) modify the path of the system variable and add % android_sdk_home %.

Alternatively, you can copy the. Android folder to the C: \ Documents and Settings \ Administrator \ directory.

2 error reports:

Error: cocould not find helloandroid.apk

Cause: JDK installation and configuration problems

Solution: Make sure you have installed JDK correctly.

3. When AVD is running, the message is printed on the console.

Waiting for home ('android. process. acore') to be launched

Cause: this is not an error. You only need to wait for a while .. However, you can also right-click the project and run as --> Android Application.

4. An error occurred while running AVD.

Failed to install helloandroid.apk on device 'emulator-5554! '

Cause: During AVD loading, do not mess up the icons on the existing simulator. Wait until the AVD is fully loaded. If there is a red warning during the process, just run it again.

5. When running the program, the following prompt appears:

Activity not started, its current task has been brought to the front
Cause: This warning indicates that the application is already running on the device, and the system will not kill him, but will move him to the foreground for running.

Solution: You can manually kill the process or edit it.CodeRun again.

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.