Android Studio 2.0 error
Opened this issue · 0 comments
After I update Android Studio 2.0, LayoutCast seems to get some errors. Here's the error code:
Unable to open zip file: /data/data/com.nashxk/cache/lcast/dex.apk java.util.zip.ZipException: Not a zip archive at java.util.zip.ZipFile.readCentralDir(ZipFile.java:385) at java.util.zip.ZipFile.<init>(ZipFile.java:163) at java.util.zip.ZipFile.<init>(ZipFile.java:119) at dalvik.system.DexPathList$Element.maybeInit(DexPathList.java:432) at dalvik.system.DexPathList$Element.findResource(DexPathList.java:446) at dalvik.system.DexPathList.findResources(DexPathList.java:362) at dalvik.system.BaseDexClassLoader.findResources(BaseDexClassLoader.java:72) at java.lang.ClassLoader.getResources(ClassLoader.java:425) at java.lang.ClassLoader.getResources(ClassLoader.java:424) at org.jivesoftware.smack.SmackConfiguration.<clinit>(Unknown Source) at org.jivesoftware.smack.SmackConfiguration.getVersion(Unknown Source) at org.jivesoftware.smack.Connection.<clinit>(Unknown Source) at org.jivesoftware.smack.Connection.addConnectionCreationListener(Unknown Source) at org.jivesoftware.smackx.ServiceDiscoveryManager.<clinit>(Unknown Source) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:309) at com.easemob.chat.InitSmackStaticCode.initStaticCode(Unknown Source) at com.easemob.chat.EMChat.init(Unknown Source) at com.easemob.easeui.controller.EaseUI.init(EaseUI.java:118) at com.easemob.chat.ChatHelper.init(ChatHelper.java:141) at com.nashxk.MyApplication.onCreate(MyApplication.java:169) at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:326) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4977) at android.app.ActivityThread.access$1500(ActivityThread.java:178) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1600) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5773) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1005) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:800)
So, someone can help me solve this problem? thanks a lot.