New [20.6.18] Files App Crash


raaaaaald

Members
Jun 20, 2016
26
15
When opening files app to select a file to insert into an app, it crashes.

I'm using Mi 9 and MIUI 20.6.18

Code:
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
 

BeManCe

Members
May 29, 2021
1
3
I am facing with this issue on redmi note 9 pro eu - 12.0.1 android 11. Can you have a solution for this? I want to use it to format my sd card to use as internal.