无法构建android模块

时间:2016-06-08 15:33:15

标签: android appcelerator-titanium

有关构建环境的信息:

  • Mac OS 10.11.2
  • Ti SDK 5.3.0.GA
  • Ti CLI 5.0.8
  • Android 23
  • Eclipse Java开发工具3.9.2v20140221-1700

我正在尝试构建此模块tiadbuddiz-android,但终端向我提供了以下错误消息: terminal log

Titanium Command-Line Interface, CLI version 5.0.8, Titanium SDK version 5.3.0.GA
Copyright (c) 2012-2015, Appcelerator, Inc.  All Rights Reserved.

Please report bugs to http://jira.appcelerator.org/

[ERROR] Unable to compile project because the 'sdk-version' in the tiapp.xml is not installed

The project's sdk-version is currently set to 3.2.0.GA, which is not installed.

Update the sdk-version in the tiapp.xml to one of the installed Titaniums SDKs:
    3.5.2.v20160311103211
    4.1.1.v20160311104258
    5.1.1.GA
    5.1.2.GA
    5.2.0.GA
    5.2.2.GA
    5.3.0.GA
or run 'titanium sdk install 3.2.0.GA' to download and install Titanium SDK 3.2.0.GA

2 个答案:

答案 0 :(得分:0)

你项目中设置的钛sdk版本是3.2.0.GA,但你试图用5.3.0.GA构建。

尝试将项目版本更新为5.3.0.GA或安装版本3.2.0.GA

答案 1 :(得分:0)

经过两天的地狱,我找到了问题的原因!在我的工作区根目录中有一个旧的tiapp.xml(我不知道它是如何到达那里的......)。删除后,我设法从CLI的Appcelerator Studio中构建模块。