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

GitHub | kc9uew | 4 years ago
  1. 0

    GitHub comment 44#9362734

    GitHub | 4 years ago | kc9uew
    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
  2. 0

    Context is not an instance of MapActivity

    GitHub | 3 years ago | samueltardieu
    java.lang.RuntimeException: Unable to start activity ComponentInfo{cgeo.geocaching/cgeo.geocaching.maps.google.GoogleMapActivity}: android.view.InflateException: Binary XML file line #39: Error inflating class <unknown>
  3. 0

    Map crashes - cannot create cache directory

    GitHub | 2 years ago | mapsforge
    java.lang.IllegalArgumentException: could not create directory: /mnt/sdcard/Android/data/org.mapsforge.android.maps/cache/1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Support Eclipse editor

    GitHub | 2 years ago | mapsforge
    java.lang.IllegalArgumentException: context is not an instance of MapActivity
  6. 0

    error from ACRA - mapsforge problem

    GitHub | 7 months ago | moovida
    java.lang.RuntimeException: Unable to start activity ComponentInfo{eu.hydrologis.geopaparazzi/eu.hydrologis.geopaparazzi.mapview.MapviewActivity}: java.lang.IllegalArgumentException: could not create directory: /storage/sdcard0/Android/data/org.mapsforge.android.maps/cache/1

    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

      cannot write directory: /storage/sdcard0/Android/data/org.mapsforge.android.maps/cache/1

      at org.mapsforge.android.maps.mapgenerator.FileSystemTileCache.<init>()
    2. org.mapsforge.android
      MapView.<init>
      1. org.mapsforge.android.maps.mapgenerator.FileSystemTileCache.<init>(FileSystemTileCache.java:211)
      2. org.mapsforge.android.maps.MapView.<init>(MapView.java:153)
      3. org.mapsforge.android.maps.MapView.<init>(MapView.java:125)
      3 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
      2 frames
    4. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createView(LayoutInflater.java:587)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
      6 frames
    5. Android
      PhoneWindow.setContentView
      1. com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:256)
      1 frame
    6. Android Platform
      Activity.setContentView
      1. android.app.Activity.setContentView(Activity.java:1867)
      1 frame
    7. org.aprsdroid.app
      MapAct.onCreate
      1. org.aprsdroid.app.MapAct.onCreate(MapAct.scala:42)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5008)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
      5. android.app.ActivityThread.access$600(ActivityThread.java:130)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:4745)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame