Titanium Android 模块升级到 SDK 6.0.0 [英] Titanium Android module upgrade to SDK 6.0.0

查看:28
本文介绍了Titanium Android 模块升级到 SDK 6.0.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am trying too recompile my old modules to 6.0.0.GA sdk as its mandatory to make it work on 6 and above sdk. But I am not able to build it as its giving error. Development environment:

  1. Android NDK r13b
  2. Titanium 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

当我尝试创建一个新模块然后构建它时也是如此.

Also when I am trying to create a new module and then build it.

请告诉我哪里出错了.我认为这是因为一些环境问题.可能是我的 NDK 版本出了问题.

Please let me know where its going wrong. I think its because of some environment problem. Maybe my NDK version is messing up.

感谢您在这方面的帮助.

I appreciate your help in this.

推荐答案

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

Finally I figured it out that it was issue of Android NDK version. I tried using NDK r12b and r13c but that was higher version.

然后我尝试了 NDK r11,它的效果非常好.希望 Appcelerator 更新他们的 Android NDK 版本和 SDK 映射矩阵.

Then I tried NDK r11 and it worked like charm. Hope Appcelerator should update their matrix for Android NDK version and SDK mapping.

这篇关于Titanium Android 模块升级到 SDK 6.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆