Android-ZBLibrary icon indicating copy to clipboard operation
Android-ZBLibrary copied to clipboard

android.support 到 androidx的问题

Open itshu opened this issue 5 years ago • 3 comments

问题描述

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

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

itshu avatar Sep 12 '19 10:09 itshu

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

cnchu avatar Oct 23 '19 09:10 cnchu

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

androidwzl avatar Dec 04 '19 03:12 androidwzl

非常感谢 @funson86 贡献了相关代码,帮忙迁移至 androidx https://github.com/TommyLemon/Android-ZBLibrary/pull/50

TommyLemon avatar Aug 02 '22 09:08 TommyLemon