小编Tha*_*n K的帖子

如何向 iOS 语音识别 API 提供提示?

我想创建一个使用 iOS 语音 API 接收语音输入的应用程序。在 google 的 API 中,有一个 SpeechContext 选项,我可以为一些不常见的词提供提示或偏见。

iOS API 提供这个功能吗?我已经在网站上搜索了一段时间,但没有找到。

speech speech-to-text ios apple-speech

5
推荐指数
1
解决办法
561
查看次数

签署android bundle时出错:任务':app:signReleaseBundle'执行失败

我试图构建 Flutter android 应用程序的发布版本并收到以下错误:(Macbook M1 使用终端命令)

* What went wrong:                                                      
Execution failed for task ':app:signReleaseBundle'.                     
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > kotlin.KotlinNullPointerException (no error message)
Run Code Online (Sandbox Code Playgroud)

我不知道如何解决这个问题。相关部分的 android/app/build.gradle 如下所示:

    signingConfigs {
        release {
            keyAlias keystoreProperties['keyAlias']
            keyPassword keystoreProperties['keyPassword']
            storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
            storePassword keystoreProperties['storePassword']
        }
    }
    buildTypes {
        release {
            signingConfig signingConfigs.release
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'com.android.support:multidex:2.0.1'
}
Run Code Online (Sandbox Code Playgroud)

android gradle flutter

5
推荐指数
1
解决办法
74
查看次数

标签 统计

android ×1

apple-speech ×1

flutter ×1

gradle ×1

ios ×1

speech ×1

speech-to-text ×1