简体   繁体   English

构建 Android 模块错误:命令行工具

[英]Build Android Module ERROR: Command Line Tools

I try to build an Android Module with Titanium, but I always get this error message:我尝试使用 Titanium 构建 Android 模块,但总是收到此错误消息:

.../osx/3.2.0.GA/module/android/build.xml:326: The following error occurred while executing this line: .../osx/3.2.0.GA/module/android/build.xml:281: exec returned: 2 You may need to install the Command Line Tools package through XCode, in case you haven't done so yet. .../osx/3.2.0.GA/module/android/build.xml:326: 执行此行时发生以下错误:.../osx/3.2.0.GA/module/android/build.xml :281: exec 返回: 2 你可能需要通过 XCode 安装命令行工具包,以防你还没有这样做。

I have installed the CLT three times but I alway get this message.我已安装 CLT 三次,但总是收到此消息。

Here my build.properties:这是我的 build.properties:

titanium.platform=/Users/me/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.GA/android
android.platform=/Users/me/Documents/android-sdk/platforms/android-10
google.apis=/Users/me/Documents/android-sdk/add-ons/addon-google_apis-google-10
android.ndk=/Users/me/Documents/android-ndk-r9d

I am working on OSX 10.9.3 with the newest Titanium Version and Xcode 5.1.1.我正在使用最新的 Titanium 版本和 Xcode 5.1.1 在 OSX 10.9.3 上工作。

Does anyone have a solution for my problem??有没有人有解决我的问题的方法??

I found out that an error in the Module was the Problem.我发现模块中的错误是问题。 Now its working现在它的工作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM