小编DHA*_*MAR的帖子

Android Studio无法正确显示xml文件

Android Studio突然在xml文件中显示自动生成的代码。我曾尝试使缓存/重新启动无效,但不能解决问题。我也尝试过清理项目并重建它,但是它也不起作用。即使一切都可以在编辑器中正确显示,例如sublime文字。这是我的android studio显示的xml文件之一的代码。

在Android Studio中显示的代码

崇高文本编辑器中显示的代码

`/ *自动生成的文件。请勿修改。* *该类由* gradle插件自动从找到的资源数据中生成。*请勿手工修改。* /

package com.airbnb.lottie;

public final class R {
    private R() {}

    public static final class anim {
        private anim() {}

        public static final int abc_fade_in = 0x7f010000;
        public static final int abc_fade_out = 0x7f010001;
        public static final int abc_grow_fade_in_from_bottom = 0x7f010002;
        public static final int abc_popup_enter = 0x7f010003;
        public static final int abc_popup_exit = 0x7f010004;
        public static final int abc_shrink_fade_out_from_bottom = 0x7f010005;
        public static final int abc_slide_in_bottom = 0x7f010006;
        public static final int …
Run Code Online (Sandbox Code Playgroud)

java android android-studio

5
推荐指数
2
解决办法
1036
查看次数

标签 统计

android ×1

android-studio ×1

java ×1