How to report an error when importing apidemos under sample in Android SDK

Source: Internet
Author: User
How to report an error when importing apidemos under sample in Android SDK

 

Today, I suddenly want to see the examples provided by Google under the sample are written in? I chose the song example for import. Who knows it is correct after import, the following error is prompted during running:

[11:01:52-apidemos] re-installation failed due to different application signatures.

[11:01:52-apidemos] You must perform a full uninstall of the application. Warning: This will remove the Application Data!

[11:01:52-apidemos] Please execute 'adb uninstall com. example. Android. APIs 'in a shell.

[11:01:52-apidemos] Launch canceled!

The first response was an online query, but I didn't find it. I don't know if I should solve it. I suddenly saw this sentence.

Please execute 'adb uninstall com. example. Android. APIs 'in a shell.

So I tried ADB uninstall com. example. Android. APIs in cmd.

Then go back and run the task !!!

The procedure is as follows:

    • Keep the virtual machine open after a warning occurs
    • CD [SDK installation directory] \ Platform-Tools
    • ADB uninstall com. example. Android. APIs
    • Then run apidemos again.
    • Apidemos main menu appears

I personally think this apidemos is worth studying. I suggest you take a look at the examples provided by Google when you are idle.

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.