有谁知道如何为Android打包Titanium模块?每次我尝试打包Titanium模块时,都会给我一个错误。这是我的日志输出:
Executing build.xml...
/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/module/android/build.xml:362: The following error occurred while executing this line:
/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.GA/module/android/build.xml:317: exec returned: 2You may need to install the Command Line Tools package through XCode, in case you haven't done so yet.
这是我的电脑规格:
这是我的build.properties:
titanium.platform=D:\\Users\\Administrator\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\2.1.4.GA\\android
android.platform=C:\\DeveloperFolder\\adt-bundle-windows-x86_64\\adt-bundle-windows\\sdk\\platforms\\android-8
google.apis=C:\\DeveloperFolder\\adt-bundle-windows-x86_64\\adt-bundle-windows\\sdk\\add-ons\\addon-google_apis-google-8
有谁知道如何解决它?非常感谢。
答案 0 :(得分:0)
您是否尝试过通过Xcode安装命令行工具包?
此外,Titanium Mobile 2.1.4GA不支持该版本的Xcode(3.0)。您需要升级到至少4.2版,详见兼容性矩阵:http://docs.appcelerator.com/titanium/2.0/#!/guide/Titanium_Compatibility_Matrix-section-29004837_TitaniumCompatibilityMatrix-Xcode