Skip to Content

How to run SAP MDK project in Visual Studio Code.

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

Add a comment
10|10000 characters needed characters exceeded

  • 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

Related questions

3 Answers

  • Best Answer
    Posted on Jun 25, 2019 at 02:52 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 18, 2019 at 07:16 AM

    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


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 28, 2019 at 07:22 AM

    Thanks Bill

    Add a comment
    10|10000 characters needed characters exceeded