相关疑难解决方法(0)

用于检查android中的内存泄漏的工具

是否有任何好工具来检查android中的内存泄漏?

任何帮助都将是值得的.

memory android memory-leaks

22
推荐指数
2
解决办法
4万
查看次数

无法使用Valgrind运行Java Android程序

我正试图在这样的Valgring下启动一个Java程序(在adb shell中):

valgrind am start -a android.intent.action.MAIN -n com.me.myapp/.MainActivity
Run Code Online (Sandbox Code Playgroud)

我越来越:

==2362== Memcheck, a memory error detector
==2362== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==2362== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==2362== Command: am
==2362== 
/system/bin/sh: am: No such file or directory
Run Code Online (Sandbox Code Playgroud)

android valgrind android-ndk

11
推荐指数
1
解决办法
1万
查看次数

Android valgrind构建失败

您好我正在尝试为android-arm构建valgrind.在Linux Mint 13上它失败了:

$ make
echo "# This is a generated file, composed of the following suppression rules:" > default.supp
echo "# " exp-sgcheck.supp xfree-3.supp xfree-4.supp glibc-2.X-drd.supp glibc-2.34567-NPTL-helgrind.supp glibc-2.X.supp  >> default.supp
cat exp-sgcheck.supp xfree-3.supp xfree-4.supp glibc-2.X-drd.supp glibc-2.34567-NPTL-helgrind.supp glibc-2.X.supp  >> default.supp
make  all-recursive
make[1]: Entering directory `/home/matt/Desktop/valgrind/valgrind-3.8.1'
Making all in include
make[2]: Entering directory `/home/matt/Desktop/valgrind/valgrind-3.8.1/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/matt/Desktop/valgrind/valgrind-3.8.1/include'
Making all in VEX
make[2]: Entering directory `/home/matt/Desktop/valgrind/valgrind-3.8.1/VEX'
make  all-am
make[3]: Entering directory `/home/matt/Desktop/valgrind/valgrind-3.8.1/VEX'
gcc …
Run Code Online (Sandbox Code Playgroud)

macos android valgrind configure android-ndk

8
推荐指数
2
解决办法
8961
查看次数