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
-~----------~----~----~----~------~----~------~--~---

Reply via email to