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

android.support 到 androidx的问题 #45

Open
itshu opened this issue Sep 12, 2019 · 3 comments
Open

android.support 到 androidx的问题 #45

itshu opened this issue Sep 12, 2019 · 3 comments

Comments

@itshu
Copy link

itshu commented Sep 12, 2019

问题描述

import android.support.v4.app.FragmentActivity;
已经修改为下面:
import androidx.fragment.app.FragmentActivity;

咱们这个是不是也得升级一下

@cnchu
Copy link

cnchu commented Oct 23, 2019

我也是这样的问题,安装了android10 sdk,新建的时候不能取消选择androidx.*,插入模块后报很多错误,后来把android10.0 sdk删除,再新建,取消androidx.*就可以了顺利运行起来了,文档里没有说明,弄几天才搞明白

@androidwzl
Copy link

https://developer.android.google.cn/jetpack/androidx/migrate/artifact-mappings可去官方自己对照映射修改包

@TommyLemon
Copy link
Owner

非常感谢 @funson86 贡献了相关代码,帮忙迁移至 androidx
#50

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

4 participants