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

Source: Internet
Author: User


Exception Information :[helloandroid] performing com.example.helloandroid.HelloAndroid activity launch[helloandroid] Uploading helloandroid.apk onto device ' emulator-5554 ' [helloandroid] installing helloandroid.apk ... [Helloandroid] Failed to install helloandroid.apk on device ' emulator-5554! [Helloandroid] (NULL) [Helloandroid] Launch canceled!

A similar question is:
1: Relatively low machine configuration
2: Re-deploy the Android development environment
3: Restart Eclipse and emulator, or create a new emulator, or restart your computer
4: Unplug the USB flash drive
5: Wait for half to see

Workaround:
1, run in cmd:adb kill-server (kills ADB process, if not killed, you need to go to the computer's task Manager to end the Adb.exe process yourself)
2, and then run:adb start-server (restart ADB process),
That's it, you can now try to run your program and see if you can, and certainly not rule out other situations (such as the need to restart Eclipse and the emulator)

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

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.