cancel
Showing results for 
Search instead for 
Did you mean: 

Mobile Services Client 5.1.0 is crashing on Android 6.0.1

Abdul_Waheed
Contributor
0 Kudos

Dears,

The Mobile Services Client 5.1.0 app is crashing on Android 6.0.1 with the following message.

"Unfortunately, Mobile Svs has stopped."

This is happening after the user press "OK" on the dialog "Update Now?".

Did anyone else face the same issue?

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

abdul.waheed2

Were you able to resolve your issue? If any of the below responses helped you, then please mark the helpful answer by accepting it OR post an answer so others might benefit from your findings and then close this discussion.

Regards,

Jitendra (SAP Community Moderator)

Abdul_Waheed
Contributor
0 Kudos

Dear jitendrakumar.kansal

This issue did not replicate in other devices. So, I guess there is a hardware malfunction in that specific device.

Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

Abdul_Waheed
Contributor
0 Kudos

Dear bill.froelich

Based on OData selection, below code automatically generated during build.

I have cross checked the service availability from Mobile Services. I see its up and running as expected.

Application.app

{
"_Name": "MRO",
"Version": "/MRO/Globals/AppDefinition_Version.global",
"MainPage": "/MRO/Pages/Main.page",
"OnLaunch": [
"/MRO/Actions/Service/InitializeOffline.action"
],
"OnWillUpdate": "/MRO/Rules/OnWillUpdate.js",
"OnDidUpdate": "/MRO/Actions/Service/InitializeOffline.action",
"Styles": "/MRO/Styles/Styles.less",
"Localization": "/MRO/i18n/i18n.properties"
}

InitializeOffline.action

{
"Service": "/MRO/Services/MRO.service",
"DefiningRequests": [{
"Name": "PurchaseOrderHeaderSet",
"Query": "PurchaseOrderHeaderSet"
}],
"_Type": "Action.Type.OfflineOData.Initialize",
"ShowActivityIndicator": true,
"ActivityIndicatorText": "Downloading...",
"ActionResult": {
"_Name": "init"
},
"OnSuccess": "/MRO/Actions/Service/InitializeOfflineSuccessMessage.action",
"OnFailure": "/MRO/Actions/Service/InitializeOfflineFailureMessage.action"
}
bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Do you know if this crash is only occurring on Android 6 or also on other versions as well?

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

From the description you give it sounds like there is an issue with the client handling of the metadata you have loaded in App Update. I would look at the OnDidUpdate action of your metadata and also check if you have any references to external plugins.