cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error Running MDK Client - DemoSampleApp

idi_kurniawan2
Explorer
0 Likes
2,212

I'm in the midst of following this tutorial https://developers.sap.com/tutorials/cp-mobile-dev-kit-build-client.html

MDK client was created successfully. However, when running the MDK client either in device or emulator, I found below error :

An uncaught Exception occurred on "main" thread.
Unable to create application sap.mdkclient.MDKAndroidApplication: com.tns.NativeScriptException: Error calling module function
Error calling module function
Error calling module function
TypeError: Cannot read property 'ui' of undefined
File: (file:///data/data/com.sap.mdk.demo/files/app/tns_modules/mdk-sap/FormCell/ActivityHandler/ActivityHandler.js:15:48)

Please advise if I've missed any steps while building the MDK SDK. Thank you.

Regards,

Idi

Accepted Solutions (0)

Answers (1)

Answers (1)

Jitendra_Kansal78
Product and Topic Expert
Product and Topic Expert
0 Likes

idi.kurniawan2

I am able to successfully run the branded client (built using MDK SDK 5.1.5) on both Android device (Samsung galaxy) and emulator (Nexus 5X API 29).

If you still have issues, i can test against your .mdkproject, please share it via DM or log a support ticket.