java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 44#9362734
    via GitHub by kc9uew
    ,
  • Support Eclipse editor
    via GitHub by mapsforge
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{org.aprsdroid.app/org.aprsdroid.app.MapAct}: android.view.InflateException: Binary XML file line #7: Error inflating class org.mapsforge.android.maps.MapView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2059) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084) at android.app.ActivityThread.access$600(ActivityThread.java:130) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4745) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #7: Error inflating class org.mapsforge.android.maps.MapView at android.view.LayoutInflater.createView(LayoutInflater.java:613) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687) at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) at android.view.LayoutInflater.inflate(LayoutInflater.java:489) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at android.view.LayoutInflater.inflate(LayoutInflater.java:352) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:256) at android.app.Activity.setContentView(Activity.java:1867) at org.aprsdroid.app.MapAct.onCreate(MapAct.scala:42) at android.app.Activity.performCreate(Activity.java:5008) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023) ... 11 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:417) at android.view.LayoutInflater.createView(LayoutInflater.java:587) ... 22 more Caused by: java.lang.IllegalArgumentException: cannot write directory: /storage/sdcard0/Android/data/org.mapsforge.android.maps/cache/1 at org.mapsforge.android.maps.mapgenerator.FileSystemTileCache.<init>(FileSystemTileCache.java:211) at org.mapsforge.android.maps.MapView.<init>(MapView.java:153) at org.mapsforge.android.maps.MapView.<init>(MapView.java:125) ... 25 more
    No Bugmate found.