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

Visual studio code SAP MDK issues

0 Likes
1,350

Hi, I am having an issue with creating my first application with the mobile development kit. I have followed the steps provided, and the only step that I am uncertain about is where we would have to "Specify the launch property appRoot with the tns source project path". I used the path of the application that I created through the MDK.

However when I run the app with the debugger I simply get an error saying "Error processing 'launch': Failed to get the bundle result from application : ..." Is there any help I can get on this issue?

Accepted Solutions (0)

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Likes

In the Visual Studio Code,

  • In "Run and Debug" area, create a launch.json file and select 'MDK' Debugger.

  • this will create launch.json file (under .vscode)
  • Depending on if you are launching/attaching MDK client on which platform, set appRoot property pointing to the path of the MDK client created using create-client command.

0 Likes

Hi Jitendra,

thank you so much for the quick response.

Where should the create-client command be called? I think that might be the step I am missing, but I tried running the command in terminal but I found that the command is not recognised.

Regards,

Zelu

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Likes

Please follow this tutorial on how to create client locally using MDK SDK.