Failed to resolve: support-fragment error when add google architecture component dependency

前端 未结 6 1501
青春惊慌失措
青春惊慌失措 2021-02-14 07:16

I want to use Google architecture components in my app, but after updating android studio to version 3.1.1 when I add android.arch.lifecycle:extensions:1.1.1 depend

6条回答
  •  终归单人心
    2021-02-14 07:44

    for a similar issue its solved by changing material implementation from alpha2 version to alpha 7 in the app build.gradle file

    implementation 'com.google.android.material:material:1.1.0-alpha07'
    

提交回复
热议问题