Android X backwards compatibility

后端 未结 3 1123
长情又很酷
长情又很酷 2020-12-17 01:25

I have Android App that uses support library versions 27.1.2. I want to consume a library written using Android X (api 28).

There are few issues with name spacing of

3条回答
  •  爱一瞬间的悲伤
    2020-12-17 01:56

    This is not possible. To use any library that depends on AndroidX, your project must migrate your whole project to AndroidX.

    Note that the reverse is supported - you can use libraries built with Support Library in projects that use AndroidX (that's the purpose of the android.enableJetifier=true flag).

提交回复
热议问题