I should mention: why are you doing this? If you feel like you need to do this, you are probably doing something wrong. There aren't too many reasons you would need to do this, the only time I've ever done this was when I was actually hacking the vm source. If this is what you intend to do, this is the wrong mailing list to ask..
kris On Tue, Jan 24, 2012 at 6:20 PM, Kristopher Micinski <[email protected]> wrote: > http://www.milk.com/kodebase/dalvik-docs-mirror/docs/hello-world.html > > http://www.netmite.com/android/mydroid/2.0/dalvik/docs/embedded-vm-control.html > > will be of interest to you.. > > kris > > On Tue, Jan 24, 2012 at 6:16 PM, nir apple <[email protected]> wrote: >> slight correction. >> after changing the ANDROID_DATA variable my new dex errors are: that >> it can't find system.framework.jar.classes.dex >> and more. >> sounds reasonable that is can't find them since they are probably at / >> data/... but why do we need them? >> and this returns me to my first questions: is there another way??? or >> a solution >> thanks again >> Nir >> >> On 25 ינואר, 01:03, nir apple <[email protected]> wrote: >>> Hi, >>> I want to use the adb shell command: dalvikvm in order to start a new >>> dalvik virtual machine >>> When i try to use it like this: dalvikvm Myclass .it doesn't work >>> When looking at logcat i see that the following error: >>> can't open dex cache /data/dalvik-cache...... >>> As i read this is because i don't have access to that folder. so i >>> changed the ANDROID_DATA environment variable to =/sdcard in adb shell >>> using export. >>> and when trying again i get: can't open dex cache /sdcard/dalvik- >>> cache...... >>> Seems like nothing changed... >>> >>> 1. Does anyone know what's the problem. or even if it is possible to >>> start a new dvm using adb (not forking from zygote process like am >>> command, maybe dvz or app_process) in non rooted devices? >>> 2. Is it possible to tell dalvikvm to skip the dex optimization part? >>> or to tell him that i already have one optimized.... >>> >>> Thanks for the help >>> Nir >> >> -- >> 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 -- 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

