1.保证所用的adb是从自己的代码编译出来的
cp out/host/linux-x86/bin/adb /usr/bin
2. 设置android环境变量:
. build/envsetup.sh
choopseproduce pxa988dkb_def
3. enable native heap debug, open the file ddms.cfg and add one line in the tail
vim ~/.android/ddms.cfg
native=true
4. launch ddms and there is tab named "Native Heap"
ddms &
cp out/host/linux-x86/bin/adb /usr/bin
2. 设置android环境变量:
. build/envsetup.sh
choopseproduce pxa988dkb_def
3. enable native heap debug, open the file ddms.cfg and add one line in the tail
vim ~/.android/ddms.cfg
native=true
4. launch ddms and there is tab named "Native Heap"
ddms &