After Updating Android studio to 3.1.2 , I get “Failed to load AppCompat ActionBar with unknown error. ”

前端 未结 9 2063
旧巷少年郎
旧巷少年郎 2020-12-31 14:54

I tried looking other similar questions on stackoverflow, they advice us to changw version of \"buildToolsVersion\" but I dont see word like that in my gradle file.

9条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-31 15:34

    Update 2

    As you can see in support 28.0.0 release notes.

    This will be the last feature release under the android.support packaging, and developers are encouraged to migrate to AndroidX 1.0.0

    Android will not update support libraries from now. So I suggest you migrate to androidx before they deprecated support libraries.

    Update

    Support 28.0.0 is released, so you can use this stable version.

    implementation 'com.android.support:design:28.0.0'
    

    I suggest never use alpha versions, because alpha, beta versions have bugs, that are testing libraries.

提交回复
热议问题