Does Ndk-gdb Work Under Macos Sierra?
I'm trying to debug a Huawei Honor phone, running Android 6.0.1, with USB debug enabled. Trying to ndk-gdb on any Android device will always give me: Error: unable to connect to de
Solution 1:
So it turns out that the issue is two-fold:
- The real problem is the "unable to connect to device" one, caused by
the fact that the OEM locked the debug capability. It has to be
rooted to be able to connect with ndk-gdb. The same applies to debugging on Windows too. So this is unrelated to macOS. The
sudocommand is useless and irrelevant. - The architecture warning was due to the fact that I forgot to deploy the new build (from a different version of my app) to the phone, so that the app already-installed on the phone was outdated. After another deployment through
ant debug install, the warning is now gone.
I consider the issue now solved. However, a new issue appeared:
warning: Could not load shared library symbols for 142 libraries, e.g. /system/lib64/libcutils.so.
Use the "info sharedlibrary"command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
0x0000007f93f84a20 in syscall ()
from /Applications/Audiokinetic/Wwise_2017.1.0.6240/SDK/samples/IntegrationDemo/Android/obj/local/arm64-v8a/system/lib64/libc.so
This will go into another question.
Post a Comment for "Does Ndk-gdb Work Under Macos Sierra?"