【问题标题】:Titanium Android module upgrade to SDK 6.0.0Titanium Android 模块升级到 SDK 6.0.0
【发布时间】:2017-04-27 16:15:00
【问题描述】:

我也在尝试将我的旧模块重新编译为 6.0.0.GA sdk,以使其在 6 及更高版本的 sdk 上工作。但是我无法将其构建为给出错误。 开发环境:

  1. Android NDK r13b
  2. 钛 SDK 6.0.0.GA
  3. Appcelerator Studio 4.8.0
  4. CLI 版本 5.0.10
  5. Android SDK 23

我收到此错误:

BUILD FAILED
/Users/krishna/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.GA/module/android/build.xml:347: The following error occurred while executing this line:
/Users/krishna/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.GA/module/android/build.xml:302: exec returned: 2

当我尝试创建一个新模块然后构建它时。

请告诉我哪里出了问题。我认为是因为一些环境问题。也许我的 NDK 版本搞砸了。

感谢您在这方面的帮助。

【问题讨论】:

    标签: android titanium appcelerator appcelerator-titanium titanium-modules


    【解决方案1】:

    最后我发现是 Android NDK 版本的问题。我尝试使用 NDK r12b 和 r13c 但那是更高版本。

    然后我尝试了 NDK r11,它就像魅力一样。希望 Appcelerator 应该为 Android NDK 版本和 SDK 映射更新他们的矩阵。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多