[Redmi K20 / Xiaomi Mi 9T Questions & Answers] subset:
Hi,

Mi 9T MIUI Global 10.3.7 - Stock Clock & Weather apps is not working....

I did a hard reset, but didn't working :(

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.miui.weather2/com.miui.weather2.ActivityWeatherMain}: java.lang.IndexOutOfBoundsException: setSpan (-1 ... 21) starts before 0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2984)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3119)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6864)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.IndexOutOfBoundsException: setSpan (-1 ... 21) starts before 0
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1326)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:682)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:674)
at com.miui.weather2.util.UserNoticeUtil.getUserNoticeMessage(UserNoticeUtil.java:202)
at com.miui.weather2.util.UserNoticeUtil.showUserNoticeDialog(UserNoticeUtil.java:79)
at com.miui.weather2.ActivityWeatherMain.showUserNoticeDialog(ActivityWeatherMain.java:1552)
at com.miui.weather2.ActivityWeatherMain.initView(ActivityWeatherMain.java:195)
at com.miui.weather2.mvp.common.BaseMvpActivity.init(BaseMvpActivity.java:35)
at com.miui.weather2.mvp.common.BaseMvpActivity.onCreate(BaseMvpActivity.java:21)
at com.miui.weather2.ActivityWeatherMain.onCreate(ActivityWeatherMain.java:166)
at android.app.Activity.performCreate(Activity.java:7232)
at android.app.Activity.performCreate(Activity.java:7221)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2964)
... 11 more

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.deskclock/com.android.deskclock.DeskClockTabActivity}: java.lang.IndexOutOfBoundsException: setSpan (-1 ... 22) starts before 0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2984)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3119)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6864)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.IndexOutOfBoundsException: setSpan (-1 ... 22) starts before 0
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1326)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:682)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:674)
at com.android.deskclock.util.UserNoticeUtil.getUserNoticeMessage(UserNoticeUtil.java:105)
at com.android.deskclock.util.UserNoticeUtil.showUserNoticeDialog(UserNoticeUtil.java:144)
at com.android.deskclock.DeskClockTabActivity.onCreate(DeskClockTabActivity.java:166)
at android.app.Activity.performCreate(Activity.java:7232)
at android.app.Activity.performCreate(Activity.java:7221)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2964)
... 11 more