简体   繁体   中英

Cannot open a file/drawable in Android studio

I am trying to apply a git patch in Android studio and always the get stuck. I have to kill the android studio (Happens the same if I want to import a drawable).

I am using MacOS Monterrey 12.4

Android Studio Chipmunk | 2021.2.1 Build #AI-212.5712.43.2112.8512546, built on April 28, 2022 Runtime version: 11.0.12+0-b1504.28-7817840 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains sro macOS 12.4 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 12 Registry: external.system.auto.import.disabled=true Non-Bundled Plugins: org.intellij.plugins.markdown (212.5457.16), org.jetbrains.kotlin (212-1.6.21-release-334-AS5457.46)

Looks like an issue between mac and android studio file selector.

Any ideas/workaround?

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

I had the same issue with Android Studio Chipmunk | 2021.2.1 Patch 1 on macOS 12.4. Every time the macOS file picker was started Android Studio froze and wasn't usable anymore.

I could only solve it by downgrading to Android Studio Bumblebee (2021.1.1) Patch 3 which can be downloaded here: https://developer.android.com/studio/archive

(I also cleared the Android Studio folders in ~/Library/Application Support/Google but I'm not sure if that was necessary to resolve the problem.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM