我在 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 没问题,我想知道为什么?谢谢。