Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
aivoice_plugin
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
王苏进
aivoice_plugin
Commits
1f741427
提交
1f741427
authored
9月 13, 2024
作者:
王苏进
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 安卓配置 添加依赖
上级
756878a9
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
27 行增加
和
1 行删除
+27
-1
build.gradle
android/build.gradle
+6
-0
build.gradle
example/android/app/build.gradle
+1
-0
AndroidManifest.xml
example/android/app/src/debug/AndroidManifest.xml
+9
-1
AndroidManifest.xml
example/android/app/src/main/AndroidManifest.xml
+7
-0
build.gradle
example/android/build.gradle
+4
-0
没有找到文件。
android/build.gradle
浏览文件 @
1f741427
...
...
@@ -18,6 +18,10 @@ allprojects {
repositories
{
google
()
mavenCentral
()
// 添加 Maven 仓库
maven
{
url
"https://artifact.bytedance.com/repository/Volcengine/"
}
}
}
...
...
@@ -52,6 +56,8 @@ android {
dependencies
{
testImplementation
'org.jetbrains.kotlin:kotlin-test'
testImplementation
'org.mockito:mockito-core:5.0.0'
// Speech Engine
implementation
'com.bytedance.speechengine:speechengine_tob:0.0.3'
}
testOptions
{
...
...
example/android/app/build.gradle
浏览文件 @
1f741427
...
...
@@ -49,6 +49,7 @@ android {
targetSdkVersion
flutter
.
targetSdkVersion
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
multiDexEnabled
true
}
buildTypes
{
...
...
example/android/app/src/debug/AndroidManifest.xml
浏览文件 @
1f741427
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
>
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<application
android:label=
"aivoice_plugin_example"
android:name=
"${applicationName}"
android:icon=
"@mipmap/ic_launcher"
tools:replace=
"android:label"
>
<!-- 其他现有代码 -->
</application>
</manifest>
example/android/app/src/main/AndroidManifest.xml
浏览文件 @
1f741427
...
...
@@ -41,4 +41,11 @@
<data
android:mimeType=
"text/plain"
/>
</intent>
</queries>
<uses-permission
android:name=
"android.permission.READ_EXTERNAL_STORAGE"
/>
<uses-permission
android:name=
"android.permission.WRITE_EXTERNAL_STORAGE"
/>
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<uses-permission
android:name=
"android.permission.ACCESS_NETWORK_STATE"
/>
<uses-permission
android:name=
"android.permission.FOREGROUND_SERVICE"
/>
</manifest>
example/android/build.gradle
浏览文件 @
1f741427
...
...
@@ -2,6 +2,10 @@ allprojects {
repositories
{
google
()
mavenCentral
()
// 添加 Maven 仓库
maven
{
url
"https://artifact.bytedance.com/repository/Volcengine/"
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论