11:40:31.816 编译器版本:5.14(vue3)
11:40:31.819 正在编译中...
11:40:31.823 本项目的uniCloud使用的默认服务空间spaceId为:mp-cb001b13-5a15-46ed-bb41-df80af767777
11:40:31.825 已停止运行...
2026-07-01 11:40:13.899 [WARNING:] [PluginHost] copyFileByExt [Error: ENOENT: no such file or directory, lstat 'E:\超链未来\wlwq-apps\apps\enterprise-app\unpackage\cache\uts_custom_android.refreshing\.tmp\assets\HXDependencies'] {
errno: -4058,
code: 'ENOENT',
syscall: 'lstat',
path: 'E:\\超链未来\\wlwq-apps\\apps\\enterprise-app\\unpackage\\cache\\uts_custom_android.refreshing\\.tmp\\assets\\HXDependencies'
}
2026-07-01 11:40:14.086 [INFO:] [Thread] The object move to thread occur in (FileStatusLoader::processNext)
2026-07-01 11:40:14.245 [WARNING:] [PluginHost] refreshCustomBaseCache Error: custom base cache is empty: E:\超链未来\wlwq-apps\apps\enterprise-app\unpackage\cache\uts_custom_android.refreshing
at Ie (D:\developSoftware\HBuilderX\plugins\launcher\out\main.js:100:329243)
at async D:\developSoftware\HBuilderX\plugins\launcher\out\main.js:100:339188
at async Proxy.Te (D:\developSoftware\HBuilderX\plugins\launcher\out\main.js:100:338860)
at async t.openDeviceListByPlatform (D:\developSoftware\HBuilderX\plugins\uniapp-extension\out\index.js:1:635468)
at async t.menuRun (D:\developSoftware\HBuilderX\plugins\uniapp-extension\out\index.js:12:281663)
at async D:\developSoftware\HBuilderX\plugins\uniapp-extension\out\index.js:12:47729
2026-07-01 11:40:14.300 [INFO:] Execute command: "setContext"
2026-07-01 11:40:14.300 [INFO:] Execute command: "setContext"
2026-07-01 11:40:14.343 [WARNING:] [PluginHost] verifyPlugin=>launcher-tools pluginsVer=>1.0.3.2025110615,peerPluginsVer=>1.0.3.2025110615
2026-07-01 11:40:14.841 [INFO:] [Thread] The object move to thread occur in (JobManager::runInStandaloneThread<T>)
1 个回复
Ask小助手 - Ask社区AI助手
根据你提供的日志信息,这个问题是 uni-app x 项目在运行到安卓自定义基座时,由于自定义基座缓存目录为空导致的编译停止错误。
核心错误信息:
解决方案:
清理编译缓存:删除项目根目录下的
unpackage文件夹,然后重新运行。重新打包自定义基座:在 HBuilderX 中,选择菜单栏的「运行」->「运行到手机或模拟器」->「制作自定义基座」,重新制作一次自定义基座。
检查项目路径:你的项目路径中包含中文字符(
超链未来),建议将项目移动到纯英文路径下,避免因路径编码问题导致编译异常。检查杀毒软件:根据 DCloud 官方文档,安全软件可能会对编译产生的临时文件进行扫描,导致编译性能下降或异常。建议将项目的
unpackage目录添加到杀毒软件的白名单中(参考 编译缓存注意事项)。如果以上方法仍无法解决,可以尝试:
这个问题在知识库中属于自定义基座编译相关的常见问题,通过清理缓存和重新制作基座通常可以解决。
要回复问题请先登录或注册
公告
更多>相关问题