NDK
deletion丶
没有
展开
-
windows使用mingw编译Android端openblas
windows使用mingw编译Android端openblas参考官方编译方法How to build OpenBLAS for Android,将TOOLCHAIN中的darwin-x86_64改为windows-x86_64即可。注意ndk需要使用Android Sdk中的ndk路径。export NDK=/d/Android/Sdk/ndk-bundleexport TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/windows-x86_64make \原创 2021-09-26 16:49:33 · 346 阅读 · 0 评论 -
使用simpleperf对Android程序native层性能分析
使用simpleperf对Android程序native层性能分析使用app_profiler.py进行profiling,运行命令如下:python app_profiler.py -p com.example.simpleperf.simpleperfexamplewithnative -a .MainActivity -r "-e cpu-clock -g --duration 30"-p指定app名字,-a指定程序主Activity名字,-r指定录制perfdata的选项,具体命令可运行a原创 2021-08-31 19:18:36 · 445 阅读 · 0 评论 -
使用ndk-stack定位so库crash位置
ndk-stack 工具让您可以在堆叠追踪出现在 adb logcat 的输出中时过滤它们。 它还可以从源代码将共享库中的任意地址替换为对应的< source-file: < line-number> 值,从而更容易找出问题所在。例如,它可将下面的crash log:I/DEBUG ( 31): *** *** *** *** *** *** *** *** **...翻译 2018-08-07 21:45:28 · 7955 阅读 · 1 评论