sn-uts-svg 打包时报错 编译日志

sn-uts-svg 打包时报错 编译日志

17:42:51.414 编译器版本:3.93(uni-app x)
17:42:51.414 正在编译中...
17:42:55.319 uni_module [sn-uts-svg] 正在更新三方依赖...
17:42:56.083 uts插件[sinle-utils]文件未发生变化,跳过编译
17:43:13.490 uni_module [sn-uts-svg] Error:
17:43:13.490 FAILURE: Build failed with an exception.
17:43:13.490
17:43:13.490 * What went wrong:
17:43:13.490 Execution failed for task ':androidDependencies'.
17:43:13.490 > Failed to notify dependency resolution listener.
17:43:13.490 > Failed to notify dependency resolution listener.
17:43:13.490 > 'void org.gradle.api.artifacts.DependencySubstitutions$Substitution.with(org.gradle.api.artifacts.component.ComponentSelector)'
17:43:13.490 > 'void org.gradle.api.artifacts.DependencySubstitutions$Substitution.with(org.gradle.api.artifacts.component.ComponentSelector)'
17:43:13.490
17:43:13.490 * Try:
17:43:13.490 > Run with --stacktrace option to get the stack trace.
17:43:13.490 > Run with --info or --debug option to get more log output.
17:43:13.490 > Run with --scan to get full insights.
17:43:13.490 > Get more help at https://help.gradle.org.
17:43:13.490
17:43:13.490 BUILD FAILED in 16s
17:43:13.490
17:43:13.490 Error:
17:43:13.490 FAILURE: Build failed with an exception.
17:43:13.490
17:43:13.490 * What went wrong:
17:43:13.490 Execution failed for task ':androidDependencies'.
17:43:13.490 > Failed to notify dependency resolution listener.
17:43:13.490 > Failed to notify dependency resolution listener.
17:43:13.490 > 'void org.gradle.api.artifacts.DependencySubstitutions$Substitution.with(org.gradle.api.artifacts.component.ComponentSelector)'
17:43:13.490 > 'void org.gradle.api.artifacts.DependencySubstitutions$Substitution.with(org.gradle.api.artifacts.component.ComponentSelector)'
17:43:13.490
17:43:13.490 * Try:
17:43:13.490 > Run with --stacktrace option to get the stack trace.
17:43:13.490 > Run with --info or --debug option to get more log output.
17:43:13.490 > Run with --scan to get full insights.
17:43:13.490 > Get more help at https://help.gradle.org.
17:43:13.490
17:43:13.490 BUILD FAILED in 16s
17:43:13.490
17:43:13.490 at D:\Programs\HBuilderX Alpha\plugins\uts-development-android\out\external.js:20:23228
17:43:13.490 at Generator.next (<anonymous>)
17:43:13.490 at D:\Programs\HBuilderX Alpha\plugins\uts-development-android\out\external.js:20:19692
17:43:13.490 at new Promise (<anonymous>)
17:43:13.490 at r (D:\Programs\HBuilderX Alpha\plugins\uts-development-android\out\external.js:20:19437)
17:43:13.490 at ChildProcess.<anonymous> (D:\Programs\HBuilderX Alpha\plugins\uts-development-android\out\external.js:20:23049)
17:43:13.490 at ChildProcess.emit (node:events:513:28)
17:43:13.490 at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
17:43:18.880 ‌error: Unresolved reference: caverock‌
17:43:18.880 at uni_modules/sn-uts-svg/utssdk/app-android/index.vue:9:16
17:43:18.880 7 | import UTSAndroid from 'io.dcloud.uts.UTSAndroid';
17:43:18.880 8 | import SVGImageView from 'com.caverock.androidsvg.SVGImageView';
17:43:18.880 9 | import SVG from 'com.caverock.androidsvg.SVG';
17:43:18.880 | ^
17:43:18.880 10 |
17:43:18.880 11 | export default {
17:43:18.880 ‌error: Unresolved reference: caverock‌
17:43:18.880 at uni_modules/sn-uts-svg/utssdk/app-android/index.vue:8:25
17:43:18.880 6 | import File from 'java.io.File';
17:43:18.880 7 | import UTSAndroid from 'io.dcloud.uts.UTSAndroid';
17:43:18.880 8 | import SVGImageView from 'com.caverock.androidsvg.SVGImageView';
17:43:18.880 | ^
17:43:18.880 9 | import SVG from 'com.caverock.androidsvg.SVG';
17:43:18.880 10 |
17:43:18.880 ‌error: Unresolved reference: SVGImageView‌
17:43:18.880 at uni_modules/sn-uts-svg/utssdk/app-android/index.vue:48:14
17:43:18.880 46 | }
17:43:18.880 47 | },
17:43:18.880 48 | NVLoad(): SVGImageView {
17:43:18.880 | ^
17:43:18.880 49 | return new SVGImageView(this.$androidContext)
17:43:18.880 50 | }
17:43:18.880 ‌error: Unresolved reference: SVGImageView‌
17:43:18.880 at uni_modules/sn-uts-svg/utssdk/app-android/index.vue:48:14
17:43:18.880 46 | }
17:43:18.880 47 | },
17:43:18.880 48 | NVLoad(): SVGImageView {
17:43:18.880 | ^
17:43:18.880 49 | return new SVGImageView(this.$androidContext)
17:43:18.880 50 | }
17:43:18.880 ‌error: Unresolved reference: SVGImageView‌
17:43:18.880 at uni_modules/sn-uts-svg/utssdk/app-android/index.vue:49:19
17:43:18.880 47 | },
17:43:18.880 48 | NVLoad(): SVGImageView {
17:43:18.880 49 | return new SVGImageView(this.$androidContext)
17:43:18.880 | ^
17:43:18.880 50 | }
17:43:18.880 51 | }
17:43:19.317 检测到编译缓存部分失效,开始差量编译。详见:https://uniapp.dcloud.net.cn/uni-app-x/compiler/#cache
17:43:19.317 请在杀毒软件中设置扫描排除名单,减少系统资源消耗。[详情](https://uniapp.dcloud.net.cn/uni-app-x/compiler/#tips)
17:43:19.863 当前工程4个页面,正在编译为android class,此过程耗时较长...
17:43:31.610 ‌error: Unresolved reference: snUtsSvg‌
17:43:31.610 at components/sn-captcha/sn-captcha.uvue:5:111
17:43:31.610 3 | <view class="sn-captcha-loading" v-if="loading"><text class="sn-captcha-loading-text fas">{{"\ue1d4"}}</text>
17:43:31.610 4 | </view>
17:43:31.610 5 | <sn-uts-svg v-if="!loading" style="width: 100rpx; height: 100rpx; margin-top: 20rpx" :src="src"></sn-uts-svg>
17:43:31.610 | ^
17:43:31.610 6 |
17:43:31.610 7 | <input class="sn-captcha-input" type="text" placeholder="请输入验证码" :maxlength="4" :adjust-position="true" />
17:43:31.610 当前工程4个页面,正在编译为android class,此过程耗时较长...
17:43:31.619 [plugin:uni:app-uts] 编译失败
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值