
如何写精华回答,获更多曝光?
发布
[ArkRuntime Log] SyntaxError: the requested module '@normalized:Y&&&libmqttasync.so&' does not provide an export name 'MqttClient' which imported by '&entry/src/main/ets/pages/Home&'
在添加下面代码后 LOG报了上面的错误
//1、创建mqtt客户端 let mqttAsyncClient = new MqttClient({ url: "tcp://mqtts.heclouds.com:1883", clientId: "test1", persistenceType: 1, })
这个要怎么解决