Collection of issues encountered during Android development (-)

Source: Internet
Author: User

1. Re-installation failed due to different application signatures.

Remove the original package and install it once again. Execution on the command line: adb uninstall <package_name> Package_name here is androidmanifest.xml inside <manifest/> The data value of the element package property. For example: adb uninstall Org.andriod.demo. The deletion can also be a reference to 6. How to remove the description of this part of the package

2. Emulator:ERROR:unknown virtual device name: ' My_android '

environment variable Settings android_sdk_home, point to Andriod's SDK folder.

3. ddms-failed to initialize Monitor thread:unable to establish loopback connection

The firewall may be blocking the startup of ADB server, shutting down the firewall, and starting ADB server again. Enter the DOS command environment to perform commands such as the following: ADB kill-server and ADB start-server

4. Installation Error:install_failed_insufficient_storage

Assuming that emulator prompts this information, it may be out of memory. When starting emulator, join the number of-partition-size 120

5. Warning:application does not specify a API level requirement!

The usual error messages are:

    [2010-10-23 08:15:28-appname] Warning:application does not specify a API level requirement!     [2010-10-23 08:15:28-appname] Device API version is 8 (Android 2.2)  


In the Androidmanifest.xml file, use <uses-sdk/> to specify the level of the API. For example:

    <USES-SDK android:minsdkversion= "8"/>  
    <USES-SDK android:minsdkversion= "8"/>  

6. How to delete a package

Method one, through the ADB command line. ADB uninstall <package_name>

Method Two, through the device management software settings to delete. Setting---applications--and Manage applications to remove software

7. Could not open Selected VM Debug Port (8700). Make sure don't have another instance of DDMS or of the eclipse plugin running. If it ' s being used by something else, choose a new port number in the preferences.

Workaround: In Firewall advanced advanced settings, port8700 and inbound settings




Many others to be continued

Collection of issues encountered during Android development (-)

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.