cancel
Showing results for 
Search instead for 
Did you mean: 

MDK - NativeScriptException: Calling js method onCreate failed

05-17-2023 3:10 PM
fabiogiordano Explorer
994 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Hi experts

I developed an MDK Project (6.3.6 MDK Runtime).
When I try to run the application in debug mode on my simulator, the application crashes with this error:


This is the result of MDK_Dependencies_Installer.exe

The same application installed on the android device works correctly.

Has anyone had the same problem?
Can you tell me how to solve it?

Thank you.

0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

bill_froelich
Product and Topic Expert
Product and Topic Expert

That typically means there is something wrong in your metadata like a missing brace or non-json content in a file possibly. Double check your metadata to see if find something and redeploy after fixing.

fabiogiordano
Explorer
0 Likes

Thanks Bill,

I found the problem is the README file located in the project\Web\App_Resources folder.

I deleted this file and everything works fine.