报错:Could not launch the product because the specified workspace cannotbe created, The specified workspace directory is either invalid or
read-only.
因为STM32CubeIDE是基于Eclipse开发的,它对中文的支持非常不友好,所以在安装的过程中都不能使用中文。包括电脑的用户名也不能是中文,当电脑的用户名出现了中文就会报这个错。
解决方案:如果当前系统用户名为中文,则需要百度搜索并修改自己的系统用户名为英文,然后再开始安装。另外,也可以直接启用Windows的Administrator用户,并使用该用户来安装和开发学习。具体方法为:在Windows命令行下执行 net user administrator /active:yes
命令,然后注销或重启Windows系统,并点击Administrator用户登录即可。