请问云数据库什么时候会支持HarmonyOS鸿蒙Next应用吗?
请问云数据库什么时候会支持HarmonyOS鸿蒙Next应用吗? https://developer.huawei.com/consumer/cn/doc/development/AppGallery-connect-Guides/agc-clouddb-introduction-0000001054212760
4 回复
试试openHarmony的?有些是通用的。
更多关于请问云数据库什么时候会支持HarmonyOS鸿蒙Next应用吗?的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html
好像用不了,导包会报错 import { AGConnectCloudDB } from '@hw-agconnect/database-ohos';
报错信息: jscrash
Device info: OpenHarmony 2.0 Canary
Build info: OpenHarmony 3.2.6.3
Module name: com.rick.cdb
Version: 1.0.0
Pid: 691
Uid: 20040003
Lifetime: 0.000000s
Js-Engine: ark
page: pages/Index.js
Error message: Cannot read property dcodeIO of undefined
Stacktrace:
- at anonymous (\src\util\minimal.js:180:40)
- at __webpack_require__ (webpack/bootstrap:36:1)
- at anonymous (\protobufjs\src\writer.js:4:17)
- at __webpack_require__ (webpack/bootstrap:36:1)
- at anonymous (\protobufjs\src\index-minimal.js:13:25)
- at __webpack_require__ (webpack/bootstrap:36:1)
- at anonymous (\protobufjs\src\index-light.js:2:16)
- at __webpack_require__ (webpack/bootstrap:36:1)
- at anonymous (\protobufjs\src\index.js:2:16)
- at __webpack_require__ (webpack/bootstrap:36:1)
- at anonymous (\node_modules\protobufjs\index.js:4:1)
- at __webpack_require__ (webpack/bootstrap:36:1)
- at anonymous (\database-ohos\dist\index.js:4:1)
- at __webpack_require__ (webpack/bootstrap:36:1)
- at anonymous (\ets\pages\Index.ets:4:1)
- at anonymous (webpack/bootstrap:40:1)
目前,云数据库对HarmonyOS鸿蒙Next应用的支持尚未明确。建议关注华为官方公告或云服务提供商的更新,以获取最新支持信息。同时,开发者可通过现有API和SDK进行适配,确保应用在鸿蒙系统上的兼容性。