WenPing Zhang
WenPing Zhang
Please fill out the form below before submitting, thank you! - [ ] Bug exists Release Version 1.1.1 (Java Repository Master Branch) - [ ] Bug exists in Snapshot Version...
@Override protected void setStatusBar() { StatusBarUtil.setColor(this, getResources().getColor(R.color.colorPrimary)); // 此时设置模式,根布局会嵌入状态栏下 StatusBarUtil.setDarkMode(SwitchModeActivity.this); } 结果: 
readme中的apk,打开崩溃,崩溃日志: Unable to start activity ComponentInfo{com.jojo.design/com.jojo.design.module_core.ui.home.ACT_Home}: java.lang.IllegalStateException: properties.getProperty(name, defaultValue) must not be null Caused by: java.lang.IllegalStateException: properties.getProperty(name, defaultValue) must not be null at com.jojo.design.common_base.utils.BuildProperties.getProperty(BuildProperties.kt:45) at com.jojo.design.common_base.utils.StatusBarHelper.isMIUI(StatusBarHelper.kt:228) at com.jojo.design.common_base.utils.StatusBarHelper.setStatusTextColor(StatusBarHelper.kt:69) at com.jojo.design.module_core.ui.home.ACT_Home.switchFragment(ACT_Home.kt:110)...