cancel
Showing results for 
Search instead for 
Did you mean: 

Issues Accessing MDK Application on Android Devices

10-02-2025 7:47 PM
MaximoSanchez Participant
1848 views 8 comments
0 Likes
SAP Managed Tags
Labels
errormdkMobile Development Kitmobile servicesSAP MDK
Subscribe

Hello Community,

I am experiencing issues when trying to access an MDK application from a device running the Android operating system.

When I scan the QR code and log in through Mobile Services, I receive the following errors:

 Error during application update, rolling back to previous metadata definitions
Reason: Invalid call to EventHandler.executeAction /pmp_smart_pm/Actions/Service/InitializeOffline.action is not an action

However, when I log in using the same user credentials on a device running iOS, everything works without any problem.

Has anyone faced a similar issue? Could this be related to a specific Android configuration or compatibility?

Any help or guidance would be greatly appreciated.

Thank you!

0 Likes

Accepted Solutions (0)

Answers (3)

Answers (3)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Likes

@MaximoSanchez Yes, looks like you are referencing to an BTP destination in your mobile destination.

I would like to see the URL you have configured in your BTP destination. Could you please share a screenshot of it? (If there is any personal information, kindly blur it out.)

MaximoSanchez
Participant
0 Likes

I had to refer to a destination in BTP because if I referred to the cloud connector and used “cloud connector SSO” as the SSO mechanism, I got this error. 
I'll also share the destination I configured. This connection error started occurring after migrating to S/4 HANA. We checked the certificates and they all seem to be there. We don't understand why it won't let us connect the application to the OData service through the cloud connector.

MaximoSanchez_0-1759930006115.png

MaximoSanchez_1-1759930114587.pngMaximoSanchez_2-1759930125873.png

 

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Likes

@MaximoSanchez Could you share how did you configure the ERP_MOA_PM_S4 destination in the mobile services app configuration?

MaximoSanchez
Participant
0 Likes

Hello! Are you referring to this?

MaximoSanchez_0-1759850415114.png

 

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Likes

Can you shared the .service for your application.  The one error seems to indicate a need for an additional property in there.

MaximoSanchez
Participant
0 Likes

Hello! I was able to solve the previous error by modifying the Path Suffix field. In that field I had entered /, but I removed it, deployed again, and now users with Android devices can log in without issues. However, users with iOS devices cannot. The error shown on iOS devices is the following: "Alert: Error during application update, rolling back to previous metadata definitions. Reason: Invalid/Incompatible bundle file." And in the Mobile Services log I see this message: "The request path / is not assigned to a destination. Rejecting request with 404 (not found)." I don’t understand why this issue does not occur on Android devices anymore. Should I enter the service name in the Path Suffix field instead? For example, something like: /sap/opu/odata/... Thanks for your time!

imagen (2).pngMaximoSanchez_0-1759492566523.pngerror ios mdk.jpg

 

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Likes
Are you using any metadata extensions in your project you deploy from BAS?
MaximoSanchez
Participant
0 Likes

Hmm, I don't know what you mean by that. I don't think so. How can I check?
For example, I have a file in Services that contains the metadata, but I consume the odata service from zpm_odata.service.

MaximoSanchez_0-1759942794263.png