[Compile Result] ArkTS:ERROR Failed to resolve OhmUrl.
[Compile Result] Error Message: Failed to get a resolved OhmUrl for "/Users/xucheng/Desktop/HarmonyOS/dramapromotion-hmos/commons/datastore/src/main/ets/datastore/PreferenceManager.ets" imported by "/Users/xucheng/Desktop/HarmonyOS/dramapromotion-hmos/commons/datastore/Index.ets".
[Compile Result] Solutions: > Check whether the module which /Users/xucheng/Desktop/HarmonyOS/dramapromotion-hmos/commons/datastore/src/main/ets/datastore/PreferenceManager.ets belongs to is correctly configured.> Check the corresponding file name is correct(including case-sensitivity).
[Compile Result] Cannot read properties of undefined (reading 'bundleName')
[Compile Result] Compile error occurred. Fix it based on the above message.
本文参与了 【 HarmonyOS NEXT 技术问答冲榜,等你来战!】欢迎正在阅读的你也加入。
推荐参阅:问题排查指南里有很多排查场景.如编译报错“Failed to get a resolved OhmUrl by filepath xx”.