If your system told you directly “this app cannot be opened”, then it is your macOS's problem because that means there is nothing wrong with this app but your system just refuse to give permission to open it. There is nothing I can do from my end to help you, please google for solutions.
But if it told you something different rather than ‘it cannot be opened’, please let me know, thank you very much.