android test.apk,app-debug.apk和app-debug-androidTest.apk在安装macaca-android模块的时候build失败...

在尝试使用cnpm全局安装macaca-android时,遇到了'License for package Android SDK Platform 26 not accepted.'的错误,导致构建失败。安装过程中,Node.js进程显示未处理的Promise拒绝警告,并提示需要在Android Studio SDK Manager中接受缺失组件的许可证协议。
摘要由CSDN通过智能技术生成

cnpm i macaca-android -g

还有错误,“License for package Android SDK Platform 26 not accepted.”,请教什么原因?

log如下:

D:\workspace\eWork\mobile>cnpm i macaca-android -g

Downloading macaca-android to C:\Users\syq\AppData\Roaming\npm\node_modules\macaca-android_tmp

Copying C:\Users\syq\AppData\Roaming\npm\node_modules\macaca-android_tmp_macaca-android@2.0.47@macaca-android to C:\Users\syq\AppData\Roaming\npm\node_modules\macaca-android

Installing macaca-android's dependencies to C:\Users\syq\AppData\Roaming\npm\node_modules\macaca-android/node_modules

[1/10] webdriver-dfn-error-code@~1.0.1 installed at node_modules_webdriver-dfn-error-code@1.0.4@webdriver-dfn-error-code

[2/10] driver-base@~0.1.0 installed at node_modules_driver-base@0.1.4@driver-base

[3/10] temp@~0.8.3 installed at node_modules_temp@0.8.3@tem

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值