"Don’t have the correct version of Studio Pro installed? DownloadStudio Pro 10.22.0"
when i create anew app on thye portal i have no choice to choose the version of the studio pro , so it created by studio pro 10.22 but the I installed 10.24
The top screenshot you showed is not an error, that just says it's opening Mendix studio pro and you can install the correct version if you don't have it installed.
The second one can be caused by many things, but often is caused by a bad internet connection (in which case you can try again later) or firewall configuration. You can read more about the prerequisites here to make sure you meet them: https://docs.mendix.com/refguide/system-requirements/