PictureSelector
PictureSelector copied to clipboard
java.lang.SecurityException
Current use version?
当前使用的版本是多少?
3.11.2
Will this problem occur in demo?
Demo能否复现这问题?
可以,必现
Describe the problem or provide an error log?
描述问题或提供错误log?
Process: com.luck.pictureselector, PID: 5770
java.lang.SecurityException: Writable dex file '/data/data/com.luck.pictureselector/code_cache/.overlay/base.apk/classes17.dex' is not
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:406)
at dalvik.system.DexFile.<init>(DexFile.java:128)
at dalvik.system.DexFile.<init>(DexFile.java:101)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:438)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:387)
at dalvik.system.DexPathList.<init>(DexPathList.java:166)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:160)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:130)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:146)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:93)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:134)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:126)
at android.app.ApplicationLoaders.getClassLoaderWithSharedLibraries(ApplicationLoaders.java:61)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1049)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:1141)
at android.app.LoadedApk.getResources(LoadedApk.java:1400)
at android.app.ContextImpl.createAppContext(ContextImpl.java:3335)
at android.app.ContextImpl.createAppContext(ContextImpl.java:3327)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7345)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2382)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
at android.app.ActivityThread.main(ActivityThread.java:8759)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
Demo 第一次可以运行,再次用Android Studio Run 时就会报错,必须清理App 数据,才可以再次Run