【发布时间】:2014-05-16 06:09:43
【问题描述】:
我在 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 没问题,我想知道为什么?谢谢。
【问题讨论】:
标签: c++ linux ubuntu android-ndk ndk-gdb