The ADC component you are using may not be compatible for the device you are using. Can you please tell us which MPN you are using?
You can try the following step:
Go to Project tab-->Update components--> Click next and update. If still you are getting errors, attach the project here. we will check and get back to you.
We recommend you to use code examples in PSoC Creator for a good start.
Thank you for the reply.
Inintially I got the component library version mismatch information.
I updated the component library , then I saw this weird red mask .
But , the next day I restarted the PC and the project , I did not see this mask and has been fixed now