New 20.5.7: File/Documents UI crash


raaaaaald

Members
Jun 20, 2016
26
15
Files (not File Manager app) doesn't work and crashes every time I insert a file onto another app. Using Mi 9

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.documentsui/com.android.documentsui.picker.PickActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead. at android.app.ActivityThread.performLaunchActivity(Unknown Source:621) at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47) at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63) 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:43) at android.os.Handler.dispatchMessage(Unknown Source:19) at android.os.Looper.loop(Unknown Source:244) at android.app.ActivityThread.main(Unknown Source:98) 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:275) Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead. at androidx.appcompat.app.AppCompatDelegateImpl.setSupportActionBar(AppCompatDelegateImpl.java:408) at androidx.appcompat.app.AppCompatActivity.setSupportActionBar(AppCompatActivity.java:150) at com.android.documentsui.BaseActivity.onCreate(BaseActivity.java:161) at com.android.documentsui.picker.PickActivity.onCreate(PickActivity.java:100) at android.app.Activity.performCreate(Unknown Source:19) at android.app.Activity.performCreate(Unknown Source:1) at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3) at android.app.ActivityThread.performLaunchActivity(Unknown Source:376) ... 11 more