首页 > 解决方案 > android...CoordinatorLayout 渲染问题

问题描述

在我将 Android Studio 更新到 v3.1.3 后,我遇到了这个渲染问题!

build.grandle(应用程序)

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
    implementation 'com.android.support.constraint:constraint-layout:1.1.2'
    implementation 'com.android.support:design:28.0.0-alpha3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

}

在此处输入图像描述

在此处输入图像描述

标签: androidandroid-studioandroid-studio-3.1.3

解决方案


我有类似的问题,通过更改此行解决了

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

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

它帮助我解决了渲染问题


推荐阅读