Sencha Touch用sencha app build native打包应用程序出现问题

在使用Sencha Touch通过sencha app build native命令打包应用程序时遇到问题,原因是Android SDK build-tools版本不兼容。解决方案是删除现有版本,通过SDK Manager安装一个旧版的build-tools。
摘要由CSDN通过智能技术生成

今天在安装好SDK后在Ruby的Start Command Prompt命令行窗口输入sencha app build native用进行打包时,出现了以下问题:

 BUILD FAILED 

F:\Android\android-sdk\tools\ant\build.xml:888: The following error occurred whi
le executing this line:
F:\Android\android-sdk\tools\ant\build.xml:890: The following error occurred whi
le executing this line:
F:\Android\android-sdk\tools\ant\build.xml:902: The following error occurred whi
le executing this line:
F:\Android\android-sdk\tools\ant\build.xml:283: null returned: 1

Total time: 2 seconds
""F:\Android\android-sdk\tools\android" create project --target android-17 --nam
e MyFirstApp --activity STActivity --path "F:\sencha_app\fisrtApp/build/native-p
ackage-mobile/MyFirstApp/packager.json\/" --package com.sencha.MyFirstApp"
Could not run ant with error: 1
Failed to package application <
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值