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:
- Android NDK r13b
- Titanium SDK 6.0.0.GA
- Appcelerator Studio 4.8.0
- CLI 版本 5.0.10
- 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.