Android-support-v4.jar obfuscation Error

Source: Internet
Author: User

Obfuscated the project, but found the following errors:

[Java] Warning: Android. Support. v4.view. Accessibility. accessibilitynodeprovidercompatjellybean $ 1 : Can '  T find superclass or interface Android. View. Accessibility. accessibilitynodeprovider [Java] Warning: Android. Support. v4.app. navutilsjb: Can '  T find referenced method  ' Android. content. Intent getparentactivityintent () '  In class android. App. Activity [Java] Warning: Android. Support. v4.app. navutilsjb: Can ' T find referenced method  ' Boolean shoulduprecreatetask (Android. content. Intent) '  In class android. App. Activity [Java] Warning: Android. Support. v4.app. navutilsjb: Can '  T find referenced method  ' Boolean navigateupto (Android. content. Intent) '  In class android. App. Activity [Java] Warning: Android. Support. v4.app. navutilsjb: Can '  T find referenced Field ' Java. Lang. String parentactivityname '  In class android. content. PM. activityinfo [Java] Warning: Android. Support. v4.app. icationicationcompatjellybean: Can '  T find referenced method  ' Android. App. Notification $ builder setsubtext (Java. Lang. charsequence) '  In class android. App. Notification $ Builder [Java] Warning: Android. Support. v4.app. icationicationcompatjellybean: Can '  T find referenced method ' Android. App. Notification $ builder setuseschronometer (Boolean) '  In class android. App. Notification $ Builder [Java] Warning: Android. Support. v4.app. icationicationcompatjellybean: Can '  T find referenced method  ' Android. App. Notification $ builder setpriority ( Int ) '  In class android. App. Notification $ Builder [Java] Warning: Android. Support. v4.app. icationicationcompatjellybean: Can ' T find referenced method  ' Android. App. Notification $ builder addaction ( Int , Java. Lang. charsequence, Android. App. pendingintent) '  In class android. App. Notification $ Builder  
...
...

Since the previous obfuscation of this android-support-v4.jar package was okay,

Can think of the problem: the current android-support-v4.jar jar package, indeed, when the project was built, the default project is

Use the latest API-17 to build the project, so the system uses the android-support-v4.jar jar package that supports 4.1 jelly bean by default,

When packaging, the API-level can be adjusted to> = 16, or replace/libs/android-support-v4.jar with older versions.

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.