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

查看:111
本文介绍了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天全站免登陆