New MIUI scanner force close


java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xiaomi.scanner/com.xiaomi.scanner.app.ScanActivity}: android.view.InflateException: Binary XML file line #8 in com.xiaomi.scanner:layout/miuix_appcompat_alert_dialog: Binary XML file line #8 in com.xiaomi.scanner:layout/miuix_appcompat_alert_dialog: Error inflating class <unknown>
at android.app.ActivityThread.performLaunchActivity(Unknown Source:663)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:61)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:250)
at android.app.ActivityThread.main(Unknown Source:134)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: android.view.InflateException: Binary XML file line #8 in com.xiaomi.scanner:layout/miuix_appcompat_alert_dialog: Binary XML file line #8 in com.xiaomi.scanner:layout/miuix_appcompat_alert_dialog: Error inflating class <unknown>
Caused by: android.view.InflateException: Binary XML file line #8 in com.xiaomi.scanner:layout/miuix_appcompat_alert_dialog: Error inflating class <unknown>
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(Unknown Source:210)
at android.view.LayoutInflater.createView(Unknown Source:11)
at com.android.internal.policy.PhoneLayoutInflater.onCreateView(Unknown Source:8)
at android.view.LayoutInflater.onCreateView(Unknown Source:0)
at android.view.LayoutInflater.onCreateView(Unknown Source:0)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:65)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:6)
at android.view.LayoutInflater.rInflate(Unknown Source:92)
at android.view.LayoutInflater.rInflateChildren(Unknown Source:9)
at android.view.LayoutInflater.inflate(Unknown Source:107)
at android.view.LayoutInflater.inflate(Unknown Source:27)
at android.view.LayoutInflater.inflate(Unknown Source:5)
at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(Unknown Source:23)
at androidx.appcompat.app.AppCompatDialog.setContentView(Unknown Source:4)
at miuix.appcompat.app.AlertController.installContent(Unknown Source:4)
at miuix.appcompat.app.AlertDialog.onCreate(Unknown Source:5)
at android.app.Dialog.dispatchOnCreate(Unknown Source:4)
at android.app.Dialog.show(Unknown Source:37)
at com.xiaomi.scanner.util.DialogUtil.showCTADialog(Unknown Source:104)
at com.xiaomi.scanner.app.ScanActivity.showConfirmDialog(Unknown Source:194)
at com.xiaomi.scanner.app.ScanActivity.onCreateTasks(Unknown Source:380)
at com.xiaomi.scanner.app.ScanActivity.onCreate(Unknown Source:341)
at android.app.Activity.performCreate(Unknown Source:77)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:399)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:61)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:250)
at android.app.ActivityThread.main(Unknown Source:134)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 13: TypedValue{t=0x2/d=0x7f040144 a=-1}
at android.content.res.TypedArray.getDrawableForDensity(Unknown Source:67)
at android.content.res.TypedArray.getDrawable(Unknown Source:1)
at android.view.View.<init>(Unknown Source:2310)
at android.view.View.<init>(Unknown Source:1)
at android.view.View.<init>(Unknown Source:1)
... 39 more