OpenHarmony开发者论坛
标题:
OpenHarmony 4.1导入intellvioce失败,找不到该api
[打印本页]
作者:
lpcarl
时间:
3 天前
标题:
OpenHarmony 4.1导入intellvioce失败,找不到该api
[md]### 【问题描述】
1. 按照api文档的介绍,导入,但是直接报错,sdk里也找不到该接口
![QQ20241102-113733.png](
https://forums-obs.openharmony.c ... whhmxh2gg8gbgx6.png
"QQ20241102-113733.png")
2. ```java
import AbilityConstant from '@ohos.app.ability.AbilityConstant';
import hilog from '@ohos.hilog';
import UIAbility from '@ohos.app.ability.UIAbility';
import Want from '@ohos.app.ability.Want';
import window from '@ohos.window';
import intelligentVoice from '@ohos.ai.intelligentVoice';
```
### 【运行环境】
硬件:开发者手机
ROM版本:
DevEvoStudio版本:devevo 4.1
SDK版本:openharmony 4.1
[/md]
欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/)
Powered by Discuz! X3.5