极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 14403|回复: 7

arduino cannot run because it could not creare a folder to store your sketchbook

[复制链接]
发表于 2013-4-7 13:20:25 | 显示全部楼层 |阅读模式
win7 64位下打开arduino IDE1.0.4,提示如下错误,晕,谁知道咋办?
arduino cannot run because it could not creare a folder to store your sketchbook

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复

使用道具 举报

发表于 2013-4-7 13:31:05 | 显示全部楼层
用管理员身份运行吧

不保证有效,只能说试一下
回复 支持 反对

使用道具 举报

发表于 2013-4-7 13:43:59 | 显示全部楼层
你的文档目录不能写?它要在Documents目录下建一个Arduino目录来保存Sketch。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-4-7 13:49:37 | 显示全部楼层
以管理员身份运行了不行
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-4-7 13:52:36 | 显示全部楼层
还是不行,win7 和xp的不太一样吧,好像没有专门的我的文档啊

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2013-4-7 15:16:03 | 显示全部楼层
把你的IDE放入D盘试试。现在是不是在C盘哪里运行的?
回复 支持 反对

使用道具 举报

发表于 2014-7-23 13:44:48 | 显示全部楼层
。。。打了一大段话没了,真是的。
回复 支持 反对

使用道具 举报

发表于 2014-7-23 13:47:45 | 显示全部楼层
解决方法:

找到arduino安装的路径,按顺序打开arduino-lib-preferences.txt.

用写字板打开后找到下面这段话:
# If you don't want users to have their sketchbook default to
# "My Documents/Processing" on Windows and "Documents/Processing" on OS X,
# set this to another path that will be used by default.
# Note that this path must exist already otherwise it won't see
# the sketchbook folder, and will instead assume the sketchbook
# has gone missing, and that it should instead use the default.

这段话的最下方修改如下(注意1.path=你希望建立文件夹的路径;2.sketchbook前面的#号需要删掉):
sketchbook.path=E:\Documents\Arduino

保存txt,重新打开arduino.exe,看问题是否解决了?


回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|联系我们|极客工坊

GMT+8, 2026-6-18 06:45 , Processed in 0.061469 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表