androidStudio3.1.3不能識別constraint-layout預覽佈局的問題

你需要將gradle插件版本升級爲

distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
dependencies {
    classpath 'com.android.tools.build:gradle:3.1.3'
    

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
implementation 'com.android.support.constraint:constraint-layout:1.1.2'

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章