Hi,
I have followed your instructions to update the following
environment variable: $PATH, and $ANDROID_PRODUCT_OUT. And verify they
are set correctly by the following ways:
1. $PATH: I could run arm-eabi-addr2line from everywhere, which means
that the path for arm-eabi-addr2line is set correctly.
2. $ANDROID_PRODUCT_OUT: I could execute "cd $ANDROID_PRODUCT_OUT/
symbols" successfully, and it indeed changed to the symbols folder,
which means that the path for symbols under $ANDROID_PRODUCT_OUT is
set correctly.
With the settings for $PATH, and $ANDROID_PRODUCT_OUT, I run ddms to
see the Native Heap tab. However, I still failed to locate the memory
leak. The problems I faced are:
1. The button "Load Symbol" is disabled.
2. The following fields are blank, nothing seen.
a) library,
b) file,
c) line
I believed that there must be something I did not follow. Could anyone
just give me some instruction? Thanks in advance.