• Building
  • Load error when adding path to adb

I'm doing the step-by-step tutorial, and when I added the adb path in Editor->Editor Settings->Export->Android, an error message came up:

Unable to write to file 'C:\Users/Jana/AppData/Roaming/Godot/editor_setting-3.tres', file in use, locked or lacking permissions.

I checked the file to see if it was read-only, it wasn't.
I was able to run the tutorial game on my Android with no problems.

File in use? There's only one instance of Godot. No other application would use that file, right?

What could be causing the error?

a month later

Try write this file yourself: open this file and find this line(or create if missing) export/android/adb = "" and change it to export/android/adb = "PATHTOSDK"

Sounds like an application, likely your running instance of godot was actively using/holding the file in locked state.