IBM Support

PI59032: Unable to create android app with proguard enabled when using android SDK 23

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Description :
    Unable to create an native android obfuscated APK, when progaurd
    is enabled.
    (i.e) a signed app fails to build with the below error in the
    MFP studio console.
    
    [2015-12-15 17:28:43 - StarterApplicationAndroid]
    java.io.IOException: Please correct the above warnings first.
    [2015-12-15 17:28:43 - StarterApplicationAndroid]     at
    proguard.Initializer.execute(Initializer.java:321)
    [2015-12-15 17:28:43 - StarterApplicationAndroid]     at
    proguard.ProGuard.initialize(ProGuard.java:211)
    [2015-12-15 17:28:43 - StarterApplicationAndroid]     at
    proguard.ProGuard.execute(ProGuard.java:86)
    [2015-12-15 17:28:43 - StarterApplicationAndroid]     at
    proguard.ProGuard.main(ProGuard.java:492)
    
    This issue is not observed, when progaurd is not enabled.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users who use MobileFirst platform 7.1 or 7.0, who have      *
    * android native application with android SDK version greater  *
    * than 23 and using Proguard                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * There is a limitation in Proguard and android SDK 23.        *
    * To work with android SDK 23 one should add the               *
    * org.apache.http.legacy to the project, see -                 *
    * http://stackoverflow.com/questions/32153318/httpclient-wont- *
    * import-in-android-studio                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • -
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI59032

  • Reported component name

    MFPF/WORKLIGHT

  • Reported component ID

    5725I4301

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-03-13

  • Closed date

    2016-04-23

  • Last modified date

    2016-04-23

  • 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

  • R710 PSY

       UP

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

Document Information

Modified date:
23 April 2016