android studio 提示错误 “Operation is not supported for read-only collection“

Android studio从长颈鹿升级到 新版本小刺猬 ,之后 新建项目build 一个小时之后运行,竟然提示如下错误,

"Operation is not supported for read-only collection"

wtf,尝试过 新建项目,clean项目,重新build ,清除as 缓存等方法都还是在运行时出现错误提示,
猜测是新旧版本存在不兼容的地方,具体哪里也不好定位了,
最后使用重置大法给整好了:
重置As , 是用新的配置,重新下载sdk, tool等配套工具,
鉴于网上没有相关的解决方案,就小计一下,避免踩坑。

相关推荐

  1. AndroidStudio

    2023-12-07 16:28:01       63 阅读
  2. ORACLE错误提示概述

    2023-12-07 16:28:01       30 阅读
  3. internet.getUserEncryptKey提示错误

    2023-12-07 16:28:01       29 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-07 16:28:01       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-07 16:28:01       101 阅读
  3. 在Django里面运行非项目文件

    2023-12-07 16:28:01       82 阅读
  4. Python语言-面向对象

    2023-12-07 16:28:01       91 阅读

热门阅读

  1. Elasticsearch-Kibana使用教程

    2023-12-07 16:28:01       40 阅读
  2. Android Audio实战——音频焦点监听(十)

    2023-12-07 16:28:01       60 阅读
  3. mysql基本命令

    2023-12-07 16:28:01       52 阅读
  4. vue3 element-plus 将路由和激活菜单绑定

    2023-12-07 16:28:01       57 阅读
  5. 传导电流密度方向与磁矢位方向相同

    2023-12-07 16:28:01       48 阅读
  6. 【FPGA图像处理实战】- 彩色图像灰度化

    2023-12-07 16:28:01       57 阅读
  7. TCP Socket API 讲解,以及回显服务器客户端的实现

    2023-12-07 16:28:01       53 阅读
  8. 关于在PyTorch中使用cudnn.benchmark= True

    2023-12-07 16:28:01       60 阅读