How to use an Androidx library in a project which is not migrated to Androidx

雨燕双飞 提交于 2020-07-09 04:54:37

问题


My current project is quite stable. Presently I don't want to migrate to Androidx. But I need to use this com.pierfrancescosoffritti.androidyoutubeplayer:core:10.0.3 library in my project, which is migrated to Androidx. So when I'm importing this library it causes gradle build failure.

I found many ways for migrating to Androidx but not the other way.

One solution I can think of downloading the library and replace the Androidx libraries with support and then import. Apart form this is there any other way ? Like the reverse of jetifier.

来源:https://stackoverflow.com/questions/55493565/how-to-use-an-androidx-library-in-a-project-which-is-not-migrated-to-androidx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!