- 博客(6)
- 收藏
- 关注
原创 适配全面屏方法(无效)
无效WindowManager.LayoutParams attrs = this.getWindow().getAttributes();attrs.flags &= ~WindowManager.LayoutParams.FLAG_FULLSCREEN;this.getWindow().setAttributes(attrs);if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {this.getWindow(..
2020-09-27 17:54:25 672
原创 升级androidx 遇到的坑
Cannot access androidx.savedstate.bundle.BundleSavedStateRegistryOwner将app下的build.gradle文件中的androidx.appcompat:appcompat依赖升级到1.1.0-rc01及以上版本并且。(本人项目存在基moudle)所以该组件下build.gradle文件中的androidx.appcompat...
2020-05-08 11:47:57 603
原创 No virtual method getColor(I)
java.lang.NoSuchMethodError: No virtual method getColor(I)I in class Landroid/content/Context; or its super classes (declaration of 'android.content.Context' appears in /system/framework/framework.jar...
2020-05-06 10:27:25 938
原创 电脑自动更新后Android studio 项目出现编译不通过
app\build\intermediates\signing_config\debug\out\signing-config.json (拒绝访问。)电脑更新后Android studio 项目突然变异不通过,查了很久才显示出文件拒绝访问,解决方法把该文件删除后重新编译这是重新打开项目出现的提示...
2020-04-23 15:12:31 307
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人