On Sep 30, 3:48 pm, Wesley <[EMAIL PROTECTED]> wrote:
> hi Lia,
>
> Thanks for the guide... It's worked (/data/dalvik-cache/)... but now...
>
> may I ask one more questions???
>
> if I got the error below, how??? I try to change mode(chmod 777) is not
> working...
>
> 09-30 05:41:09.305: INFO/WESLEY(2340): java.io.IOException: Couldn't open
> /data/data/com.basic.ui/cache_/widget.xml
>
> thanks agains...
>
> wesley.
>
>
>
> On Fri, Sep 26, 2008 at 5:50 PM, Lia <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I was experiencing something similar, when porting from SDK 0.9 to
> > 1.0.
> > I got error ".....Can't open dex cache  ..... Unable to open or create
> > cache for......" when loading custom classes with DexFile.
> > I solved the problem in my environment by simply starting the abd
> > console and changing rights in the cache folder:
> >    cd /data/dalvik-cache/
> >    chmod 777 .
> > Hope this helps.
>
> >                     Cheers,
> >                      Lia.- Hide quoted text -
>
> - Show quoted text -

My application relies on dynamic loading of classes using
PathClassLoader as well. My
main concern is the permissions that are going to be set on /data/
dalvic-cache in a
target device, such as the new HTC G1 phone. If the permissions are
the same as in the
emulator, very high chance that users will not be able to shell in an
issue chmod 777
commands (can't expect users to perform such tasks either). This would
render our
application inoperable. I am going to do some more research, try and
find out what the
permissions on the /data/dalvic-cache in HTC G1 will be. If I find out
any info, I'll
post it in this blog.

Cheers,
      MoggoDude
--~--~---------~--~----~------------~-------~--~----~
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