我尝试过重启电脑、卸载并重新安装,也尝试过旧版本,但仍然无法启动。我还关闭了防病毒软件和防火墙,但还是没用。我刚刚运行了调试,它显示的内容如下:
Loading configuration...
Initializing packages...
Preparing boards...
java.io.IOException: The cloud file provider is not running
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:255)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:161)
at java.io.BufferedReader.readLine(BufferedReader.java:324)
at java.io.BufferedReader.readLine(BufferedReader.java:389)
at processing.app.legacy.PApplet.loadStrings(PApplet.java:270)
at processing.app.helpers.PreferencesMap.load(PreferencesMap.java:100)
at processing.app.helpers.PreferencesMap.load(PreferencesMap.java:74)
at processing.app.packages.UserLibrary.create(UserLibrary.java:65)
at cc.arduino.contributions.libraries.LibrariesIndexer.scanLibrary(LibrariesIndexer.java:188)
at cc.arduino.contributions.libraries.LibrariesIndexer.scanInstalledLibraries(LibrariesIndexer.java:157)
at cc.arduino.contributions.libraries.LibrariesIndexer.rescanLibraries(LibrariesIndexer.java:124)
at cc.arduino.contributions.libraries.LibrariesIndexer.setLibrariesFolders(LibrariesIndexer.java:106)
at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:682)
at processing.app.Base.onBoardOrPortChange(Base.java:1297)
at processing.app.Base$11.actionPerformed(Base.java:1498)
at processing.app.Base.rebuildBoardsMenu(Base.java:1474)
at processing.app.Base.<init>(Base.java:262)
at processing.app.Base.main(Base.java:140)
java.lang.NullPointerException
at processing.app.helpers.PreferencesMap.load(PreferencesMap.java:101)
at processing.app.helpers.PreferencesMap.load(PreferencesMap.java:74)
at processing.app.packages.UserLibrary.create(UserLibrary.java:65)
at cc.arduino.contributions.libraries.LibrariesIndexer.scanLibrary(LibrariesIndexer.java:188)
at cc.arduino.contributions.libraries.LibrariesIndexer.scanInstalledLibraries(LibrariesIndexer.java:157)
at cc.arduino.contributions.libraries.LibrariesIndexer.rescanLibraries(LibrariesIndexer.java:124)
at cc.arduino.contributions.libraries.LibrariesIndexer.setLibrariesFolders(LibrariesIndexer.java:106)
at processing.app.BaseNoGui.onBoardOrPortChange(BaseNoGui.java:682)
at processing.app.Base.onBoardOrPortChange(Base.java:1297)
at processing.app.Base$11.actionPerformed(Base.java:1498)
at processing.app.Base.rebuildBoardsMenu(Base.java:1474)
at processing.app.Base.<init>(Base.java:262)
at processing.app.Base.main(Base.java:140)
有人能解释一下并帮助我吗?我刚买了一台 mega 2560 和一堆零件,我很想尝试一下。
答案1
从兼容性设置中选择不同版本的 Windows 并尝试。例如 Windows 8、Windows 7