cancel
Showing results for 
Search instead for 
Did you mean: 

How to run SAP MDK project in Visual Studio Code.

0 Kudos

Hi,

I have downloaded the SAP MDK project from WEB IDE and imported the app in VS CODE. I tried to debug the app and I am getting the below error

[MDK] The debugging metadata application is /Application.app

[MDK] Checking whether need to run a bundle task for application MaterialManagement...

[MDK] The AppRoot path does not exist

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Girish,

Can you please provide some additional details?

Have you also installed the MDK extension in Visual Studio Code and configured the MDK settings to point to your MDK client on your system?

Also, what type of client are you trying to use for debugging (iOS Simulator or Android Emulator)?

Are you running Visual Studio Code on the Mac or PC?

Thanks,

--Bill

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert

Girish,

There are two parts to this.

1. The create-client comment generates the actual MDK client that will be used on the iOS simulator or Android Emulator.

2. The application metadata which is ultimately bundled and deployed to the client created in step 1

From a VS Code, you will want to open the application metadata folder (you can start with an extract of what was exported from WebIDE). In the VS Code preferences for MDK you will set the "Mdk: Debug App Root to point to the directory of the client created in step 1.

Then in VS Code you can create new MDK metadata as needed and run the bundler (or by default it will auto bundle) and copy the result to the client directory which is running in the simulator/emulator.

--Bill

Answers (2)

Answers (2)

0 Kudos

Thanks Bill

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

girish123

Were you able to resolve your issue? If so, please post an answer so others might benefit from your findings.

0 Kudos

screenshot-2019-06-18-at-123608-pm.pngscreenshot-2019-06-18-at-124122-pm.pngscreenshot-2019-06-18-at-124157-pm.png

Hi Bill,

a. I have installed MDK extension and other prerequisites.

b. I am using Mac, and using both android emulator and iOS simulator.

c. I am facing two issues:

  • in code generated via create-command.client:

I am not to figure out how to add MDK Pages, MDK Actions etc.

But, I am able to launch the application on both android emulator and iOS simulator.

  • in code downloaded from the Web IDE:

not able to build it

I have attached some screenshots