IBM Support

PI90760: THE ANDROID:MAXSDKVERSION VALUE IS OVERWRITTEN WHEN AN ANDROID APPLICATION IS BUILT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Product components impacted: Android JSONStore SDK
    Affected mobile development environments: Android
    Mobile Devices Operating Systems impacted: Android
    User roles impacted: Developer
    Distribution: Fix Central, Gradle, DevCenter
    Versions affected: 8.0
    
    In a native Android application the "android:maxSdkVersion"
    property set in AndroidManifest.xml is overwritten upon building
    the
    application when the MobileFirst JSONStore SDK is included in
    the app. In the console output the following is seen:
    
    Value of input property 'maxSdkVersion' has changed for task
    ':app:processWalletReleaseManifest'
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * MobileFirst Android developers who make use of the JSONStore *
    * component.                                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When an Android application that embeds the JSONStore SDK    *
    * sets the android:maxSdkVersion value in the                  *
    * AndroidManifest.xml, it is overwritten by the constant value *
    * of 18 by the maxSdkVersion of the JSONStore SDK when the     *
    * application is built.                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The maxSdkVersion has been removed from the AndroidManifest.xml
    of the JSONStore SDK so that the maxSdkVersion if set by the
    application is not overwritten during build.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI90760

  • Reported component name

    MOBILE1ST PLATF

  • Reported component ID

    5725I4301

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-11-28

  • Closed date

    2017-12-07

  • Last modified date

    2017-12-07

  • 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

    MOBILE1ST PLATF

  • Fixed component ID

    5725I4301

Applicable component levels

  • R800 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":"800","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 December 2017