You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "prebuilt/darwin-x86_64/bin/ndk-gdb.py", line 38, in <module>
import gdbrunner
ImportError: No module named gdbrunner
ndk-gdb.py is at prebuilt/darwin-x86_64/bin/ndk-gdb.py, so this adds $NDK_PATH/prebuilt/darwin-x86_64/bin/../../python-packages, i.e. $NDK_PATH/prebuilt/python-packages. The correct path seems to be $NDK_PATH/python-packages. If I change '../..' to '../../..', it gets further (but still fails).
It looks like this error is due to the fact that NDK_PATH is a relative path, and ./build/core/build-local.mk is therefore interpreted by make as relative to the project directory given as the -C option.
Since the thing that caused this issue was the move from the package root into prebuilts/, does it all work if you undo those patches and just move the script up to the top level?
I was experiencing the same issues as @jfirebaugh and have been resolved with the patch above when applied to a fresh download of the ndk. (OS X 64bit)
Activity
jfirebaugh commentedon Mar 10, 2016
The next error I encounter is:
I can't find any directories named "host-tools" in the NDK tree, so I think this is another bug.
jmgao commentedon Mar 10, 2016
Oops, ndk-gdb.py wasn't updated for some paths moving around. I believe this patch should fix things:
jmgao commentedon Mar 10, 2016
Sorry, this as well:
jfirebaugh commentedon Mar 10, 2016
👍 Thanks, getting further with those patches.
jfirebaugh commentedon Mar 10, 2016
Next issue is:
Relevant code is:
It looks like this error is due to the fact that NDK_PATH is a relative path, and
./build/core/build-local.mkis therefore interpreted by make as relative to the project directory given as the-Coption.DanAlbert commentedon Mar 10, 2016
Since the thing that caused this issue was the move from the package root into
prebuilts/, does it all work if you undo those patches and just move the script up to the top level?jmgao commentedon Mar 11, 2016
Fixed a couple of these bugs, here's are the current differences between master and the r11 release:
mitchell-johnson commentedon Mar 11, 2016
I was experiencing the same issues as @jfirebaugh and have been resolved with the patch above when applied to a fresh download of the ndk. (OS X 64bit)
jmgao commentedon Mar 14, 2016
Fixed in r11b.
DanAlbert commentedon Mar 17, 2016
r11b is live: http://developer.android.com/ndk/downloads/index.html#download
ndk-gdb.py: fix bad paths.
ndk-gdb.py: fix gdbserver prebuilt path.
ndk-gdb.py: fix pretty printer path.
ndk-gdb.py: fix bad paths.
ndk-gdb.py: fix gdbserver prebuilt path.
ndk-gdb.py: fix pretty printer path.