java.lang.RuntimeException: Can not create dir /storage/emulated/0/Android/data/com.nextgis.mobile/cache/qms_icons

GitHub | BishopGIS | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Failed to show external tms select dialog

    GitHub | 6 months ago | BishopGIS
    java.lang.RuntimeException: Can not create dir /storage/emulated/0/Android/data/com.nextgis.mobile/cache/qms_icons

    Root Cause Analysis

    1. java.lang.RuntimeException

      Can not create dir /storage/emulated/0/Android/data/com.nextgis.mobile/cache/qms_icons

      at com.nextgis.maplib.util.FileUtil.createDir()
    2. com.nextgis.maplib
      MapUtil.prepareTempDir
      1. com.nextgis.maplib.util.FileUtil.createDir(FileUtil.java:102)
      2. com.nextgis.maplib.util.MapUtil.prepareTempDir(MapUtil.java:61)
      2 frames
    3. com.nextgis.maplibui
      CreateFromQMSLayerDialog.onCreateDialog
      1. com.nextgis.maplibui.dialog.CreateFromQMSLayerDialog.onCreateDialog(CreateFromQMSLayerDialog.java:131)
      1 frame
    4. Android Support v4
      FragmentManagerImpl$1.run
      1. android.support.v4.app.DialogFragment.getLayoutInflater(DialogFragment.java:307)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
      4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
      5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1671)
      6. android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:532)
      6 frames
    5. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:725)
      2. android.os.Handler.dispatchMessage(Handler.java:92)
      3. android.os.Looper.loop(Looper.java:137)
      4. android.app.ActivityThread.main(ActivityThread.java:5041)
      4 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
      2 frames
    8. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame