hi,
FYI,
I working on this since the 1st sdk release last year Dec...
Now I cannot make any further progress because of this problem... and yet...
no one is offer any solution or any guide for me...
I also dunno what can I do next...
one error, destroy my idea of my whole year project...
haiz...
I try to load class by using defineClass method... dalvikvm give an error of
defineClass and unsupportedTypeClass exception...
any others suggestion for me...??? any idea how to load class...??? just a
simple one will do... others error I can try to figure out by myself...
I just need a light...
wesley.
On Fri, Sep 26, 2008 at 8:22 AM, Dana Li <[EMAIL PROTECTED]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---