Arduino IDEが起動しない?
最近のことですが、Arduino IDEを起動した時に、「パッケージの初期化中」に強制終了してしまうようになりました。このため、Arduino IDEを起動できなくなってしまいました。
ファイルを消せば対処できます
Arduinoの公式のツイッターに対処方法が書いてありました。
📣 UPDATE 📣
We recently had a problem in our package_index.json that caused an error and prevented the IDE from starting. It has been fixed; however to recover a working installation, you must delete the package_index.json once again and restart the IDE as usual.
THREAD (1/5)
— Arduino (@arduino) June 10, 2020
このツイートの続きに対処方法が書いてあります。
Windowsの場合
You can find the package_index.json in the following folders...
💻 Windows:
remove file
C:UsersYourUsernameAppDataLocalArduino15package_index.jsonremove folder
C:UsersYourUsernameAppDataLocalArduino15cache(2/5)
— Arduino (@arduino) June 10, 2020
以下のファイルとフォルダを削除します。
C:\Users\"ユーザー名"\AppData\Local\Arduino15\package_index.json
C:\Users\"ユーザー名"\AppData\Local\Arduino15\cache
Macの場合
Mac:
remove file
/Users/YourUsername/Library/Arduino15/package_index.jsonremove folder
/Users/YourUsername/Library/Arduino15/cache(3/5)
— Arduino (@arduino) June 10, 2020
以下のファイルとフォルダを削除します。
/ユーザ/”ユーザー名”/ライブラリ/Arduino15/package_index.json
/ユーザ/”ユーザー名”/ライブラリ/Arduino15/cache
Linuxの場合
🐧 Linux:
remove file
/home/YourUsername/.arduino15/package_index.jsonremove folder
/home/YourUsername/.arduino15/cache(4/5)
— Arduino (@arduino) June 10, 2020
以下のファイルをフォルダを削除します。
/home/YourUsername/.arduino15/package_index.json
/home/YourUsername/.arduino15/cache
無事起動できるようになりました
ツイートにあったファイルを削除したら、無事起動できるようになりました。
ツイートによると次のリリースで修正されるとのことです。それまでは、上記の方法で自分で対策する必要があります。
Please note that this issue has been resolved for the next releases, which is the reason why the Nightly/Beta Builds are not affected and why we did not detect the problem earlier. Sorry about that! (5/5)
— Arduino (@arduino) June 10, 2020
コメント