java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.IllegalArgumentException: Failed to find storage device at /storage/sdcard1

JIRA | OldNightlyBug | 1 year ago
  1. 0

    Report error Informing BUG of formatting: Settings -> Back up and reset -> Factory data reset java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.IllegalArgumentException: Failed to find storage device at /storage/sdcard1 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2356) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2418) at android.app.ActivityThread.access$900(ActivityThread.java:154) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5289) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699) Caused by: java.lang.IllegalArgumentException: Failed to find storage device at /storage/sdcard1 at android.os.Environment.isExternalStorageRemovable(Environment.java:831) at com.android.settings.MasterClear.establishInitialState(MasterClear.java:183) at com.android.settings.MasterClear.onCreateView(MasterClear.java:225) at android.app.Fragment.performCreateView(Fragment.java:2053) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:894) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1049) at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:1869) at android.app.Activity.performCreateCommon(Activity.java:5985) at android.app.Activity.performCreate(Activity.java:5992) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2309) ... 10 more

    JIRA | 1 year ago | OldNightlyBug
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.IllegalArgumentException: Failed to find storage device at /storage/sdcard1
  2. 0

    Report error Informing BUG of formatting: Settings -> Back up and reset -> Factory data reset java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.IllegalArgumentException: Failed to find storage device at /storage/sdcard1 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2356) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2418) at android.app.ActivityThread.access$900(ActivityThread.java:154) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5289) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699) Caused by: java.lang.IllegalArgumentException: Failed to find storage device at /storage/sdcard1 at android.os.Environment.isExternalStorageRemovable(Environment.java:831) at com.android.settings.MasterClear.establishInitialState(MasterClear.java:183) at com.android.settings.MasterClear.onCreateView(MasterClear.java:225) at android.app.Fragment.performCreateView(Fragment.java:2053) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:894) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1049) at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:1869) at android.app.Activity.performCreateCommon(Activity.java:5985) at android.app.Activity.performCreate(Activity.java:5992) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2309) ... 10 more

    JIRA | 1 year ago | OldNightlyBug
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.IllegalArgumentException: Failed to find storage device at /storage/sdcard1
  3. 0

    华为荣耀6在选中图片,点击确定后出现bug

    GitHub | 2 months ago | zhuzhaolin
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=66544, result=-1, data=Intent { (has extras) }} to activity {com.jph.simple/com.jph.simple.SimpleFragmentActivity}: java.lang.reflect.UndeclaredThrowableException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Oruxmaps y Nougat

    Google Groups | 1 month ago | Jaume Tugores
    java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/vyvalavida/penal.gpx
  6. 0

    how to set FileProvider for file in External Cache dir

    Stack Overflow | 12 months ago | Qi Xingchen
    java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/com.tizi.quanzi/cache/image/o9xygODHtdP6HXqsuUZghVCsBKTtY4FJgO1MpnmX.jpg

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Failed to find storage device at /storage/sdcard1

      at android.os.Environment.isExternalStorageRemovable()
    2. Android Platform
      Environment.isExternalStorageRemovable
      1. android.os.Environment.isExternalStorageRemovable(Environment.java:831)
      1 frame
    3. com.android.settings
      MasterClear.onCreateView
      1. com.android.settings.MasterClear.establishInitialState(MasterClear.java:183)
      2. com.android.settings.MasterClear.onCreateView(MasterClear.java:225)
      2 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performCreateView(Fragment.java:2053)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:894)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
      4. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1049)
      5. android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:1869)
      6. android.app.Activity.performCreateCommon(Activity.java:5985)
      7. android.app.Activity.performCreate(Activity.java:5992)
      8. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
      9. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2309)
      10. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2418)
      11. android.app.ActivityThread.access$900(ActivityThread.java:154)
      12. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
      13. android.os.Handler.dispatchMessage(Handler.java:102)
      14. android.os.Looper.loop(Looper.java:135)
      15. android.app.ActivityThread.main(ActivityThread.java:5289)
      15 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
      2 frames