Android Studio版的百度语音识别是一款专为Android开发者设计的应用插件,它集成了百度先进的语音识别技术,使用户能够轻松地将声音转换成文本。该工具提供了简单易用的API接口,极大地方便了开发者的集成工作,提升了应用程序的人机交互体验。
apply plugin: com.android.application
android {
compileSdkVersion 21
buildToolsVersion 21.1.1
defaultConfig {
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName 1.0
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile(proguard-android.txt), proguard-rules.txt
}
}
}
dependencies {
compile com.android.support:appcompat-v7:21.0.3
compile fileTree(dir: libs, include: [*.jar])
// 添加自定义的 jar 文件
compile files(libs/VoiceRecognition-1.4.jar)
compile files(libs/Baidu-SpeechRecognitionUI-SDK-Android-1.4.jar)
compile files(libs/galaxy.jar)
}