HarmonyOS 鸿蒙Next集成完联通一键登入sdk后编译直接失败
HarmonyOS 鸿蒙Next集成完联通一键登入sdk后编译直接失败
COMPILE RESULT:FAIL {ERROR:1 WARN:416}
at process.<anonymous> (/Applications/DevEco-Studio.app/Contents/tools/hvigor/hvigor-ohos-plugin/node_modules/@ohos/hvigor-arkts-compose/dist/src/arkts-pack.js:1:4171)
at process.emit (node:events:517:28)
at node:internal/process/execution:169:25
at process.workerOnGlobalUncaughtException [as _fatalException] (node:internal/main/worker_thread:208:15)
> hvigor ERROR: BUILD FAILED in 53 s 699 ms
Process finished with exit code -1
更多关于HarmonyOS 鸿蒙Next集成完联通一键登入sdk后编译直接失败的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
COMPILE RESULT:FAIL {ERROR:1 WARN:416}
> hvigor ERROR: Error: ArkTS:ERROR Failed to execute es2abc.
Error Message: Failed to emit /Users/allen/harmony/entry/build/default/intermediates/loader_out/default/ets/modules.abc, error: Field {&@bdmap/locsdk/Index&1.0.1.moduleRecordIdx} has different value.
If you're using any cache file generated by older version of SDK, please try cleaning the cache files and rebuild
GenerateProgram Failed!
The execution command of es2abc is: "/Applications/DevEco-Studio.app/Contents/sdk/HarmonyOS-NEXT-DB2/openharmony/ets/build-tools/ets-loader/bin/ark/build-mac/bin/es2abc" --debug-info "@/Users/allen/harmony/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/filesInfo.txt" --npm-module-entry-list "/Users/allen/harmony/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/npmEntries.txt" --output "/Users/allen/harmony/entry/build/default/intermediates/loader_out/default/ets/modules.abc" --file-threads "8" --merge-abc "--target-api-version=12" --compile-context-info "/Users/allen/harmony/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/compileContextInfo.json" --cache-file "@/Users/allen/harmony/entry/build/default/cache/default/default@CompileArkTS/esmodule/debug/modules.cache"
这是具体报错原因
更多关于HarmonyOS 鸿蒙Next集成完联通一键登入sdk后编译直接失败的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html