on ‎2021 Apr 04 6:09 AM
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
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.