Hi, We had used the PathClassLoader to load class from a dynamically loaded
apk file, however, it worked in SDK 0.9 but failed in SDK 1.0. Not sure what
is the reason, Anybody has any clue on it ?

The error message is something like:

09-26 00:03:34.928: ERROR/dalvikvm(312): Can't open dex cache
'/data/dalvik-cache/[EMAIL PROTECTED]@classes.dex': No such file or directory
09-26 00:03:34.928: INFO/dalvikvm(312): Unable to open or create cache for
/data/data/....................apk'

We tried to wiped out the emulator and signed the new apk and both failed.

Any clue?

Googling gave me we are not alone, somebody also said it broke his code
---------------------------------------
In SDK 0.9 my coding is work fine... but when I port it to SDK 1.0...
I having some problem below...

can anyone guide me to port it???

1) PathClassLoader loader = new PathClassLoader(
"/data/data/org.beo/beo.mylib/myLib.apk",
ClassLoader.getSystemClassLoader());

Class calledClass = null;

calledClass = loader.loadClass("beo.mylib.beoware");

I fail to load into system...

-------------------------------

Appreciate any hint or help. It's so bad that Android is not open source !
Everything is in a black hole......

Dana Li

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