android - 在 /res/drawable/ 中打开 ic_file.xml 时,Android Studio 4.0 出现问题
问题描述
当我尝试从/res/drawable/文件夹打开任何文件时遇到问题,它开始加载ic_file.xml
并且 android studio 关闭,这在我以前版本的 android studio 中没有发生。
android studio 版本为:
Android Studio 4.0
Build # AI-193.6911.18.40.6514223,构建于 2020 年 5 月 20 日
运行时版本:11.0.7 + 8-LTS amd64
VM:Java HotSpot (TM) 64-Bit Server VM by Oracle Corporation
Linux 4.19.0-9-amd64
GC:ParNew,ConcurrentMarkSweep
内存:4062M
内核:4
注册表:ide.new.welcome.screen.force = true
非捆绑插件:com.jetbrains.ChooseRuntime,com.thoughtworks.gauge, org.intellij.plugins.markdown
操作系统:
发行商 ID:Debian
描述:Debian GNU / Linux 10 (buster)
发行版:10
代号:buster
当我从终端运行时./studio.sh
,在尝试打开提到的文件夹 /res/drawable/ 中的文件后,我收到此警告:
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
2020-06-10 12:51:25,437 [ 2318] WARN - llij.ide.plugins.PluginManager - Plugin "Firebase Services" is incompatible (until build 192.SNAPSHOT < AI-193.6911.18.40.6514223)
2020-06-10 12:51:25,805 [ 2686] WARN - llij.ide.plugins.PluginManager - Plugin "Kotlin" is incompatible (until build 192.SNAPSHOT < AI-193.6911.18.40.6514223)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil to field sun.awt.X11.XToolkit.awtAppClassName
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2020-06-10 12:51:29,285 [ 6166] WARN - com.intellij.ide.ui.LafManager - List.rowHeight = 0 in Darcula; it may lead to performance degradation
2020-06-10 12:51:29,286 [ 6167] WARN - com.intellij.ide.ui.LafManager - Table.rowHeight = 0 in Darcula; it may lead to performance degradation
2020-06-10 12:51:29,286 [ 6167] WARN - com.intellij.ide.ui.LafManager - Tree.rowHeight = 0 in Darcula; it may lead to performance degradation
2020-06-10 12:51:30,231 [ 7112] WARN - nSystem.impl.ActionManagerImpl - keymap "ReSharper" not found [Plugin: com.android.tools.ndk]
2020-06-10 12:51:34,850 [ 11731] WARN - .diagnostic.PerformanceWatcher - UI freezed for 6735ms, details saved to /home/lui/.AndroidStudio4.0/system/log/threadDumps-freeze-20200610-125128-AI-193.6911.18.40.6514223-AnnotationInvocationHandler.cloneArray-6sec
2020-06-10 12:51:51,403 [ 28284] WARN - ugins.textmate.TextMateService - Missing builtin bundles, checked:
/home/lui/.AndroidStudio4.0/config/plugins/textmate/lib/bundles
/home/lui/android-studio/plugins/textmate/lib/bundles
2020-06-10 12:51:51,732 [ 28613] WARN - uilder.surface.NlDesignSurface - The mode BOTH is not recognized, use default mode NlScreenMode instead
2020-06-10 12:51:52,888 [ 29769] WARN - com.intellij.util.xmlb.Binding - no accessors for class org.jetbrains.kotlin.idea.highlighter.KotlinDefaultHighlightingSettingsProvider
2020-06-10 12:55:42,692 [ 259573] WARN - com.intellij.util.xmlb.Binding - no accessors for class org.jetbrains.kotlin.idea.scripting.gradle.GradleScriptInputsWatcher$Storage
2020-06-10 12:55:42,733 [ 259614] WARN - com.intellij.util.xmlb.Binding - no accessors for class org.jetbrains.kotlin.idea.core.script.configuration.utils.ScriptClassRootsStorage
2020-06-10 12:55:51,413 [ 268294] WARN - dering.imagepool.ImagePoolImpl - 0 maxSize for Bucket. This Bucket will not be used.
Unable to find class android/graphics/ColorSpace
2020-06-10 12:55:52,562 [ 269443] WARN - .uipreview.LayoutLibraryLoader - GraphicsJNI: Unable to find class android/graphics/ColorSpace
Aborted```
解决方案
推荐阅读
- html - 输入文本中的 HTML 模式不起作用(一个减号和小数点)
- python - 如何解决 Matplotlib TypeError:只能将整数标量数组转换为标量索引
- reactjs - Eslint 允许在一些 js 文件中使用 jsx,例如测试组件
- javascript - ExpressJs:无法从车把模板访问对象属性
- c++ - 什么是动态编程中的缓存未命中,以及如何避免它们?
- c# - C#-MongoDB:使用 OR 运算符在 Where 子句中列出
- python - glob 生成器的类型注释
- c++ - c++ stoi 不能正确转换字符串
- mysql - 计算 MySQL 中每个唯一 cRt 与前一行的日期差
- api - 使用 JavaScript 生成 OAuth 2.0 访问令牌