我在ubuntu 12.04中使用android-ndk-r9d-linux-x86的ndk-gdb来调试android本机应用程序“hello-jni”,但它收到此错误。
WARNING: The shell running this script isn't bash. Although we try to avoid bashism in scripts, things can happen.
.../adt-bundle-linux-x86-20140321/android-ndk-r9d/ndk-gdb: 143: .../adt-bundle-linux-x86-20140321/android-ndk-r9d/ndk-gdb: Bad substitution
.../adt-bundle-linux-x86-20140321/android-ndk-r9d/ndk-gdb: 555: [: 1: unexpected operator
.../adt-bundle-linux-x86-20140321/android-ndk-r9d/ndk-gdb: 771: [: armeabi-v7a: unexpected operator
但 android-ndk-r8e-linux-x86 没问题,我想知道为什么?谢谢。
我相信“ndk-gdb”已被弃用,取而代之的是“ndk-gdb.py”(尽管这在我看来还没有被广泛宣传。)使用 r9d,我遇到了与您上面报告的相同的问题,但 python 版本无需问题。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)