Not able to communicate over printer.api

I am trying to create a communication between two separate apps over IPC. my server app Component.cdef is saying printer.api is not recognized. can anyone help me. my apps directories are as follows.

issue : when I build helloServer.adef then it says printServer Component.cdef is not able to find printer.api

you can see here:

but my printer.api is not related to Airvantage

This is my project folder. Could you please check and let me know the exact issue with this project

Aim - To create communication between App2 and App1 over IPC

2_app_communication.zip (3.4 KB)

It is not about your app

It is about how you build your app

If you are building in leaf shell, you need to add extra -i path to specify the api file location

If you are building in vscode, you need to modify .sdef file in vscode to include your .api file path

For different apps communication through IPC do I need to include an .sdef file as well?

because right now I am not using any .sdef file and i am building both apps separately and connect them with .api and then flashing them separately on mangOH yellow legato.

Should I create an .sdef file and then include both the apps in it and then flash the .sdef file to enable separate app communication through IPC?

Modifying sdef file is just to let vscode find your api file