skip to Main Content

Yesterday I updated the Andorid Studio to the latest one:

Android Studio Hedgehog | 2023.1.1
Build #AI-231.9392.1.2311.11076708, built on November 9, 2023
Runtime version: 17.0.7+0-17.0.7b1000.6-10550314 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.1.2
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Registry:
    external.system.auto.import.disabled=true
    debugger.new.tool.window.layout=true
    ide.text.editor.with.preview.show.floating.toolbar=false
    ide.experimental.ui=true

Non-Bundled Plugins:
    Statistic (4.2.7)
    com.jetbrains.kmm (0.8.1(231)-23)

and now I am not ablae to tun any project I could run in the previus version. Here is the filure: Operation is not supported for read-only collection

Just for making sure I also created a test project with the latest versions of:

It does not look to me that their is a compability issue. Otherwise the old projects would get compiled. No project can be compiled and all of them show the same result:
enter image description here

What might be the problem?
BTW, I already reported the issue from the Android Studio to Google, but not sure if they will take a look in.

ANy help highly appreciated.

2

Answers


  1. Chosen as BEST ANSWER

    Thnanks to @kaigalmane there is a solution that helped us to solve the issue. Just restore default settings of IDE: File -> Manage IDE Settings -> Restore Default Settings...


  2. I had the same problem when I updated Android Studio, and I was able to resolve it by unchecking this option in settings :

    Settings > Experimental > Trace Gradle Import with profile
    

    If that doesn’t work, try to uncheck other experimental options.

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