APAR status
Closed as program error.
Error description
When users setup the Android SDK for the first time, the default SDK version that is installed is 22. MobileFirst Platform Foundation Command Line for Cordova requires that the user be using version 19. This results in an error, and the user is then forced to download an older Android SDK version to fix the issue. The result here is a negative experience for the user.
Local fix
In a Cordova project, locate platforms/android/AndroidManifrest.xml. From there change <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19" /> to <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22" />, and rebild the app.
Problem summary
**************************************************************** * USERS AFFECTED: * * Users of the MobileFirst Platform Foundation Command Line * * Interface version 7.1.0 are affected. * **************************************************************** * PROBLEM DESCRIPTION: * * Values for the AndroidManifest.xml minSdkVersion, and * * targetSdkVersion must be raised to the actual minimum SDK * * supported by the MobileFirst Platform Foundation, and the * * target SDK must be set to the newest Android SDK version, * * respectively. * **************************************************************** * RECOMMENDATION: * * - * **************************************************************** Users may assume that older Android SDK versions are supported by MobileFirst Platform Foundation since the minimum Android SDK level supplied by Cordova is set too low. Currently, when the Android SDK is installed, only the newest SDK is downloaded, which is version 22. Cordova is expecting SDK level 19, which will force users to download an earlier version of the Android SDK.
Problem conclusion
In Cordova, the Android SDK minimum version has been updated to 14 from 10. In addition, the Cordova Android SDK target version is now set to 22.
Temporary fix
Comments
APAR Information
APAR number
PI47080
Reported component name
MFPF/WORKLIGHT
Reported component ID
5725I4301
Reported release
710
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2015-08-18
Closed date
2015-08-24
Last modified date
2015-08-24
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
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":"710","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
24 August 2015