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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.util.zip.ZipException: Not a zip archive
at java.util.zip.ZipFile.readCentralDir(ZipFile.java:397)
at java.util.zip.ZipFile.(ZipFile.java:175)
at java.util.zip.ZipFile.(ZipFile.java:131)
at dalvik.system.DexPathList$Element.maybeInit(DexPathList.java:452)
at dalvik.system.DexPathList$Element.findResource(DexPathList.java:499)
at dalvik.system.DexPathList.findResource(DexPathList.java:360)
at dalvik.system.BaseDexClassLoader.findResource(BaseDexClassLoader.java:67)
at java.lang.ClassLoader.getResource(ClassLoader.java:403)
at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:442)
at com.amap.api.mapcore2d.cz.a(Util.java:42)
at com.amap.api.mapcore2d.cq.(ZoomControllerView.java:59)
at com.amap.api.mapcore2d.b.a(AMapDelegateImpGLSurfaceView.java:1337)
at com.amap.api.mapcore2d.b.(AMapDelegateImpGLSurfaceView.java:1283)
at com.amap.api.mapcore2d.ba.a(MapFragmentDelegateImp.java:45)
at com.amap.api.maps2d.MapView.getMap(MapView.java:108)
at cn.shoppingm.god.service.UploadLocationService.a(UploadLocationService.java:89)
at cn.shoppingm.god.service.UploadLocationService.onCreate(UploadLocationService.java:73)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2884)
at android.app.ActivityThread.access$1900(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1434)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5438)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)

Users with the same issue

Once, 1 year ago
441 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
31 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.