简体   繁体   English

我可以将使用 Androidx 的库与支持库项目一起使用吗?

[英]Can I use library that uses Androidx with support library project?

My project uses support library and library which i have added as dependency uses androidx.Can i build app without replacing my project's support library APIs with androidx?我的项目使用支持库和我添加的库作为依赖项使用 androidx。我可以构建应用程序而不用 androidx 替换我的项目的支持库 API 吗?

I have already seen this answer but my question is opposite of that.我已经看到了这个答案,但我的问题与此相反。

Using support libraries is not a recommended practice anymore, and you should migrate to androidx as soon as possible.不再推荐使用支持库,您应该尽快迁移到 androidx。 Migration is easy, and Android Studio takes care of the heavy lifting for you.迁移很容易,Android Studio 会为您处理繁重的工作。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以将使用 AndroidX 的库与 android 支持项目一起使用吗? - Can I use a Library that used AndroidX with an android support project? 我可以将使用 android 支持的库与 Androidx 项目一起使用吗? - Can I use library that used android support with Androidx projects. 有没有办法混合使用 AndroidX 和使用支持库的子项目? - Is there a way to mix AndroidX and a subproject that uses the support library? 当从属库使用AndroidX库时,使用Android支持库的Android Project崩溃 - Android Project using Android Support libraries crash, when a dependant library uses AndroidX library 反向Jetifier用于带有支持库的项目中对AndroidX的依赖 - Reverse Jetifier for dependency with AndroidX in project with Support Library 我可以将在我的应用程序中使用AndroidX库的库与Android支持库一起使用吗? - Can I use a library that used AndroidX libs in my App with Android-support libs? 我可以将 Android 支持库从 27.1.1 更新到 AndroidX 1.0.0 吗? - Can I update Android Support Library from 27.1.1 to AndroidX 1.0.0? 在仍使用android.support。*的主机应用程序中使用AndroidX依赖库 - Use AndroidX dependent library in host application which still uses android.support.* 我在使用AndroidX时无法打开使用Android支持库的第三方`DialogFragment` - Unable to open third party `DialogFragment` which uses Android Support Library while I am using AndroidX 无法在使用 androidx 的项目构建中使用 Arr 库 - cannot use Arr library in project build with androidx
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM