Common errors and workarounds for Android virtual machines

Source: Internet
Author: User

The first one:[2012-11-09 13:15:14-tesa] Android launch! [2012-11-09 13:15:14-tesa] The connection to ADB are down, and a severe error has occured. [2012-11-09 13:15:14-tesa] You must restart ADB and Eclipse. [2012-11-09 13:15:14-tesa] Please ensure this adb is correctly located at ' D:\ Learning \android-sdk-windows\platform-tools\adb.exe ' and can be executed. This solution There are several methods: 1. Force the end of Adb.exe in the process, and then restart Eclipse. 2. If the above method does not work, see if there is a similar 91 mobile phone assistant and other tools are being opened, occupy the process, and some will turn off. 3. The solution to the problem I encountered: Copy the Tools folder Adb.exe to the Platform-tools folder, which is the method I see from the Internet, I use the 2.3AVD.The second one:[2012-11-09 13:35:03-emulator] Warning:data partition already in use. Changes would not persist![2012-11-09 13:35:03-emulator] warning:sd Card image already in use:c:\users\lk\.android\avd\2.3.avd/sdcard.img [2012-11-09 13:35:03-emulator] ko:snapshot storage already in use:c:\users\lk\.android\avd\2.3.avd/snapshots.img Looked at a lot of ways, not too much effect. The actual only need to delete the two files (sdcard.img snapshots.img) can be deleted, then red prompts, and then open the virtual machine:[2012-11-09 13:35:59-emulator] Warning:data partition already in use. Changes would not persist![2012-11-09 13:35:59-emulator] Warning:cache partition already in use. Changes would not persist!

2012.11.14Field Requires API Level 5 (current min is 1)Project folder > Android tools > Clear Link Markers2013.3.6
Unable to execute dex:java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
Conversion to Dalvik format failed:unable to execute dex:java.nio.BufferOverflowException. Check the Eclipse log for stack trace
This is generally the case when the direct import project occurs. Find the Android Dependencies in the project, right-click on BUiD path, and remove it to compile successfully.

Common errors and workarounds for Android virtual machines

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.