adb shell stop && adb shell start On Mon, Sep 28, 2009 at 11:17 AM, allstars <[email protected]> wrote:
> > i would like to ask how to restart framework > using adb??? > > thanks > > On Aug 6, 1:41 am, fadden <[email protected]> wrote: > > On Aug 5, 5:16 am, clikx <[email protected]> wrote: > > > > > Is there any tool available to find memory leak in native code? > > > Is there any tool like 'memprof' or 'mtrace' ported to work in Android > > > platform? > > > > If you have the right kind of build on the phone, you can replace / > > system/lib/libc.so with /system/lib/libc_debug.so and restart the > > framework. Add "native=true" to your ~/.android/ddms.cfg, and start > > the stand-alone version of DDMS. You should now have a "Native Heap" > > tab that you can use to examine native allocations. > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
