Missing attributes in layout editor in Android Studio

前端 未结 5 699
渐次进展
渐次进展 2020-12-17 19:18

I\'ve got a problem with Android Studio version 3.2.1. I do not see in layout editor most of attributes like for example id. I have got this bug probably after Android Stud

5条回答
  •  离开以前
    2020-12-17 19:55

    This happened to me today. It was very frustrating, my entire gradle got messed up for unknown reason. in build.gradle (Module: app), I had issues with

    implementation 'com.android.support:appcompat-v7:28.0.0' .
    

    I chose to suppress the warning at first, and they put

    //noinspection GradleCompatible 
    implementation 'com.android.support:appcompat-v7:28.0.0'
    

    for me... Anyways, I replaced above line with

    implementation 'com.android.support:appcompat-v7:26.1.0'
    

    and changed my compileSdkVersion to 26 and the attributes in layout editor came back alive. so I guess that appcompat thing has to do with the layout editor.

提交回复
热议问题