加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c – ubuntu 12.04中android-ndk-r9d-linux-x86的ndk-gdb出错

发布时间:2020-12-16 03:48:17 所属栏目:百科 来源:网络整理
导读:我在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

我在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'(虽然这个广告没有得到广泛宣传,IMO.)使用r9d,我遇到了你上面报道的同样的问题,但python版本没有工作问题.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读