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

前端 未结 6 1499
青春惊慌失措
青春惊慌失措 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:33

    i add this line in build.gradle and fixed bug : implementation 'androidx.fragment:fragment:1.2.5'

提交回复
热议问题