androidX You need to use a Theme.AppCompat theme [or descendant] with this activity.
项目整体升级androidx时出现的问题,网上的解决方式都是要么继承activity,要么修改配置theme属性,而我这个问题这两个 方法却没有任何用处.
后来删除项目跟目录下的.gradle和.idea文件后重新编译运行就可以了
我估计原因应该是正式环境混淆打包后引起的本地文件生成问题
后来删除项目跟目录下的.gradle和.idea文件后重新编译运行就可以了
我估计原因应该是正式环境混淆打包后引起的本地文件生成问题