Titanium:Android Build Tools太新了,可能会或可能不会与Titanium问题一起使用

时间:2017-03-16 18:16:17

标签: titanium appcelerator appcelerator-titanium titanium-alloy appcelerator-alloy

当我在Android上构建时,我在控制台上收到以下警告:

[WARN] :   
[WARN] :   Android Build Tools 25.0.2 are too new and may or may not work with Titanium.
[WARN] :   If you encounter problems, select a supported version with:
[WARN] :      ti config android.buildTools.selectedVersion ##.##.##
[WARN] :    where ##.##.## is a version in  that is 23.x
3/16/2017, 6:06:56 PM
Operating System
  Name                        = Microsoft Windows 10 Home
  Version                     = 10.0.14393
  Architecture                = 64bit
  # CPUs                      = 8
  Memory                      = 17107111936
Node.js
  Node.js Version             = 6.9.4
  npm Version                 = 3.10.10
Titanium CLI
  CLI Version                 = 5.0.11
Titanium SDK
  SDK Version                 = 6.0.1.GA
  SDK Path                    = C:\ProgramData\Titanium\mobilesdk\win32\6.0.1.GA
  Target Platform             = android
Command

但是,我现在已经安装了构建工具v23.0.3并重新启动了appcelerator但仍然出现警告。

如何使此警告消息消失?

1 个答案:

答案 0 :(得分:3)

根据我的经验,如果您使用多种乐器(Titanium,Android,Xamarin,......)开发移动设备,下载更多独立的android-sdk目录总是更好。如果您遵循此注意事项,只需进入Titanium使用的sdk的build-tools文件夹,并删除版本高于23.0.x的所有文件夹。

我在:`{ "ABC": "XXXXXX", "DEF": "XXXXX", "GHI": "XXXXXX", "JKL": { "A": "sample", "B": "XXXX", "C": "XXXXXX" }, "list": { "schema": { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "MNO": { "D": "XXXXX", "E": "XXXXX", "type": "string", "enum": [ "value1", "value2", "value3" ] } } } } }`