编译器版本:4.06(uni-app x)
16:56:53.544 正在编译中...
16:56:57.816 uni_module [jj-md5] 正在更新三方依赖...
16:58:47.122 uni_module [jj-md5]
16:58:47.122 FAILURE: Build failed with an exception.
16:58:47.122 Where:
16:58:47.122 Build file 'C:\Users\YangYS\AppData\Roaming\HBuilder X.uts-development-android\gradle\1711443417797\build.gradle' line: 2
16:58:47.122 What went wrong:
16:58:47.122 Plugin [id: 'com.android.application', version: '8.2.2'] was not found in any of the following sources:
16:58:47.122 - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
16:58:47.122 - Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android.application.gradle.plugin:8.2.2')
16:58:47.122 Searched in the following repositories:
16:58:47.122 Gradle Central Plugin Repository
16:58:47.122 Google
16:58:47.123 Try:
16:58:47.123 > Run with --stacktrace option to get the stack trace.
16:58:47.123 > Run with --info or --debug option to get more log output.
16:58:47.123 > Run with --scan to get full insights.
16:58:47.123 Get more help at https://help.gradle.org
16:58:47.123 BUILD FAILED in 1m 47s
16:58:47.123 Error:
16:58:47.123 FAILURE: Build failed with an exception.
16:58:47.123 Where:
16:58:47.123 Build file 'C:\Users\YangYS\AppData\Roaming\HBuilder X.uts-development-android\gradle\1711443417797\build.gradle' line: 2
16:58:47.123 What went wrong:
16:58:47.123 Plugin [id: 'com.android.application', version: '8.2.2'] was not found in any of the following sources:
16:58:47.123 - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
16:58:47.123 - Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android.application.gradle.plugin:8.2.2')
16:58:47.123 Searched in the following repositories:
16:58:47.123 Gradle Central Plugin Repository
16:58:47.123 Google
16:58:47.123 Try:
16:58:47.123 > Run with --stacktrace option to get the stack trace.
16:58:47.123 > Run with --info or --debug option to get more log output.
16:58:47.123 > Run with --scan to get full insights.
16:58:47.123 Get more help at https://help.gradle.org
16:58:47.123 BUILD FAILED in 1m 47s
16:58:47.123 at D:\HBuilderX\plugins\uts-development-android\out\external.js:20:23315
16:58:47.123 at Generator.next (<anonymous>)
16:58:47.123 at D:\HBuilderX\plugins\uts-development-android\out\external.js:20:19705
16:58:47.124 at new Promise (<anonymous>)
16:58:47.124 at r (D:\HBuilderX\plugins\uts-development-android\out\external.js:20:19450)
16:58:47.124 at ChildProcess.<anonymous> (D:\HBuilderX\plugins\uts-development-android\out\external.js:20:23136)
16:58:47.124 at ChildProcess.emit (node:events:513:28)
16:58:47.124 at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
16:58:50.857 error: Unresolved reference: commons
16:58:50.857 at uni_modules/jj-md5/utssdk/app-android/index.uts:1:24
16:58:50.857 1 | import DigestUtils from 'org.apache.commons.codec.digest.DigestUtils';
16:58:50.857 | ^
16:58:50.857 2 | export const md5=(str:String):String=>{
16:58:50.857 3 | return DigestUtils.md5Hex(str);
16:58:50.857 error: Unresolved reference: DigestUtils
16:58:50.857 at uni_modules/jj-md5/utssdk/app-android/index.uts:3:8
16:58:50.857 1 | import DigestUtils from 'org.apache.commons.codec.digest.DigestUtils';
16:58:50.857 2 | export const md5=(str:String):String=>{
16:58:50.857 3 | return DigestUtils.md5Hex(str);
16:58:50.857 | ^
16:58:50.858 4 | };
16:58:50.858 5 |
16:58:51.245 检测到编译缓存部分失效,开始差量编译。详见:https://uniapp.dcloud.net.cn/uni-app-x/compiler/#cache
16:58:51.245 请在杀毒软件中设置扫描排除名单,减少系统资源消耗。详情
16:58:51.767 当前工程3个页面,正在编译为android class,此过程耗时较长...
16:59:07.203 [plugin:uni:app-uts] 编译失败
k***@163.com
- 发布:2024-03-26 17:11
- 更新:2024-03-26 17:20
- 阅读:226
k***@163.com (作者)
就是在插件市场下载的插件
2024-03-26 17:24
k***@163.com (作者)
这个插件:https://ext.dcloud.net.cn/plugin?id=17028
2024-03-26 17:25
JXWang
回复 k***@163.com: 看到插件作者说“导入后,先打自定义基座,再使用”,可以试试,要是还不行联系插件作者试试看
2024-03-26 17:29