ClassNotFoundException when using androidx.fragment.app.FragmentContainerView

前端 未结 2 1801
旧时难觅i
旧时难觅i 2020-12-20 14:46

I\'m trying to transition from using a FrameLayout to using FragmentContainerView and from the tutorials I\'ve seen, it should be pretty easy. Howe

2条回答
  •  渐次进展
    2020-12-20 14:59

    That's in androidx.fragment 1.2.0 or higher:

    implementation "androidx.fragment:fragment:1.2.0"
    

提交回复
热议问题