错误信息:(整好了之后才发现忘了截图了,从网上找了两张图,下面有我手打的错误信息)
Pack manager could not get install packs
unable to open database fileF
delete the file and do "Reset cache" from the 'advanced' menu to recover
1)修改安装程序里面的 \ atpackmanager \ atpack.properties 这个文件(我用的Sublime text 3打开的)
2)设置CacheFolder =D:\Atmel\Studio\list\7.0(这是我的Atmel studio安装路径,你改成你自己的安装路径即可)
3)重新启动程序,创建新工程如下图,如果出现main.cpp and device_startup 两个文件,删除即可