Hi @simran87
A few things to try.
First, close Studio and clear this folder:
%userprofile%\AppData\Local\UiPath\License
Then, open Robot and connect it to Orchestrator.
Then, open Studio and select the option to get the license from the connected Orchestrator. It should work then without an issue.
If you want to further debug, please disconnect your robot and try to license your Studio again locally via the online activation.