So, do you mean if I use a different path for the 2nd parameter, DexClassLoader should work properly, right? How about "data/app-private"? Is it ok to use that path? I tried the above one, but it didn't work... T^T
On 10월30일, 오전4시26분, fadden <[email protected]> wrote: > On Oct 29, 1:02 am, mongd <[email protected]> wrote: > > > DexClassLoader dLoader = new DexClassLoader("/data/app/ > > com.testpackage.test2.apk", "/data/dalvik-cache", null, > > Your application doesn't have write permission on /data/dalvik-cache. > It can't create a file there. > > You should either use your app's private data area (which has the > advantage of getting cleaned up automatically when your app is > uninstalled), or request the WRITE_EXTERNAL_STORAGE permission and > use /sdcard. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

