java.util.zip.ZipException: Not a zip archive

GitHub | towinner | 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

    1+手机/CM系统存在资源加载的兼容性问题

    GitHub | 6 months ago | maclaylq
    java.util.zip.ZipException: Not a zip archive
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

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.util.zip.ZipException

    Not a zip archive

    at java.util.zip.ZipFile.readCentralDir()
  2. Java RT
    ZipFile.<init>
    1. java.util.zip.ZipFile.readCentralDir(ZipFile.java:397)
    2. java.util.zip.ZipFile.<init>(ZipFile.java:175)
    3. java.util.zip.ZipFile.<init>(ZipFile.java:131)
    3 frames
  3. Android Platform
    BaseDexClassLoader.findResource
    1. dalvik.system.DexPathList$Element.maybeInit(DexPathList.java:452)
    2. dalvik.system.DexPathList$Element.findResource(DexPathList.java:499)
    3. dalvik.system.DexPathList.findResource(DexPathList.java:360)
    4. dalvik.system.BaseDexClassLoader.findResource(BaseDexClassLoader.java:67)
    4 frames
  4. Java RT
    Class.getResourceAsStream
    1. java.lang.ClassLoader.getResource(ClassLoader.java:403)
    2. java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:442)
    3. java.lang.Class.getResourceAsStream(Class.java:1169)
    3 frames
  5. com.amap.api
    MapView.getMap
    1. com.amap.api.mapcore2d.cz.a(Util.java:42)
    2. com.amap.api.mapcore2d.cq.<init>(ZoomControllerView.java:59)
    3. com.amap.api.mapcore2d.b.a(AMapDelegateImpGLSurfaceView.java:1337)
    4. com.amap.api.mapcore2d.b.<init>(AMapDelegateImpGLSurfaceView.java:1283)
    5. com.amap.api.mapcore2d.ba.a(MapFragmentDelegateImp.java:45)
    6. com.amap.api.maps2d.MapView.getMap(MapView.java:108)
    6 frames
  6. cn.shoppingm.god
    UploadLocationService.onCreate
    1. cn.shoppingm.god.service.UploadLocationService.a(UploadLocationService.java:89)
    2. cn.shoppingm.god.service.UploadLocationService.onCreate(UploadLocationService.java:73)
    2 frames
  7. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.handleCreateService(ActivityThread.java:2884)
    2. android.app.ActivityThread.access$1900(ActivityThread.java:153)
    3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1434)
    4. android.os.Handler.dispatchMessage(Handler.java:102)
    5. android.os.Looper.loop(Looper.java:148)
    6. android.app.ActivityThread.main(ActivityThread.java:5438)
    6 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
    2 frames