Learn about Android Problems and Solutions

Source: Internet
Author: User

1. Call its API to start ADB mode, prompting you that you do not have permission. At first glance, the root permission is required. The permissions required by the guidance can be learned based on the log and added to androidmanifest. XML, such as <uses-Permission Android: Name = "android. permission. write_settings "/>.

 

2. When calling a class, the system prompts that this function is not available, but this function is found in the source code. It is said that the SDK does not include this class and the jar containing this class needs to be reloaded.

Right-click android2.2 under package explorer and select Config build path from build. Click Java build path --- libraries ----

Add class. Jar under Android-8 in the class. jar and SDK.

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.