skip to Main Content

I just update to Android Studio HedgeHog and for any project I have this message when compiling :

"Operation is not supported for read-only collection"

It does not start compilation, it displays this message directly.

I am on Windows 11 pro.

I tried :

  • invalid cache / restart
  • create new projet in same/other default folder
  • reinstall from scratch android studio

It worked by previous version of Android Studio Girafe.

2

Answers


  1. I Did Menu -> File -> Manage IDE Settings -> Restore Default Settings...

    After restart and reinitializion of Android Studio, opened project again and it’s working OK now.

    Login or Signup to reply.
  2. It looks like that is because the project had been imported from the previous version of the Android Studio, but the studio did not suggest ‘trust’ it.

    Go to File -> Settings -> Build, Execution, Deployment -> Trusted Locations and add the project’s parent folder to the trusted locations list.

    If that didn’t help, try to re-import the project (make sure that parent directory is added to trusted locations).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search