Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arouter AndroidX版本发布 #947

Closed
weikaiyun opened this issue Aug 7, 2021 · 5 comments
Closed

Arouter AndroidX版本发布 #947

weikaiyun opened this issue Aug 7, 2021 · 5 comments

Comments

@weikaiyun
Copy link

Arouter AndroidX 版本 https://github.com/weikaiyun/Arouter 用法与Arouter一致。

@zhouxin1233
Copy link

问个问题哈,我没有用你的版本,为什么使用androidX没有报错?

@weikaiyun
Copy link
Author

gradle中配置android.useAndroidX与android.enableJetifier使应用对support库的依赖自动转换为androidx的依赖

@weikaiyun
Copy link
Author

android.enableJetifier=true 表示Android插件会通过重写其二进制文件来自动迁移现有的第三方库,以使用AndroidX依赖项

@zhouxin1233
Copy link

android.enableJetifier=true 表示Android插件会通过重写其二进制文件来自动迁移现有的第三方库,以使用AndroidX依赖项
怎么确定是迁移了 看字节码么 怎么看?

@JeckChou
Copy link

android.enableJetifier=true 表示Android插件会通过重写其二进制文件来自动迁移现有的第三方库,以使用AndroidX依赖项
怎么确定是迁移了 看字节码么 怎么看?

你混用没有编译错误就说明迁移成功了,这个是你在编译的时候给你动态修改的,同时会降低你编译的速度,如果可以,最好是将其他库都换成androidx的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants