IBM Support

PI50785: BUILD FAILED, WHEN TRYING TO BUILD APPLICATION WITH PROGUARD ENABLED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Build failed, when trying to build application with proguard
    enabled.
    

Local fix

  • Adding the following to proguard-project.txt:
    
    -keep class org.apache.http.** { *; }
    -dontwarn org.apache.http.**
    -optimizations
    !class/merging/vertical*,!class/merging/horizontal*,!code/simpli
    fication/arithmetic,!field/*,!code/allocation/variable
    -keep class net.sqlcipher.** { *; }
    -dontwarn net.sqlcipher.**
    -keep class org.codehaus.** { *; }
    -keepattributes *Annotation*,EnclosingMethod
    -keepclassmembers enum * {
        public static **[] values();
        public static ** valueOf(java.lang.String);
    }
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * apps built with proguard enabled                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Android build failes when building app and enabling proguard *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply iFix with this change                                  *
    ****************************************************************
    

Problem conclusion

  • proguard project file was updated.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI50785

  • Reported component name

    MFPF/WORKLIGHT

  • Reported component ID

    5725I4301

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-10-19

  • Closed date

    2015-11-02

  • Last modified date

    2015-11-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    MFPF/WORKLIGHT

  • Fixed component ID

    5725I4301

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"700","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021