Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
F
flutter-chat
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
songchuancai
flutter-chat
Commits
a89b102e
提交
a89b102e
authored
11月 07, 2024
作者:
songchuancai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整安卓打包配置
上级
cdb7b31f
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
10 行增加
和
7 行删除
+10
-7
build.gradle
android/app/build.gradle
+5
-4
build.gradle
android/build.gradle
+2
-1
gradle-wrapper.properties
android/gradle/wrapper/gradle-wrapper.properties
+2
-1
pubspec.yaml
pubspec.yaml
+1
-1
没有找到文件。
android/app/build.gradle
浏览文件 @
a89b102e
...
...
@@ -26,16 +26,17 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
flutter
.
compileSdkVersion
namespace
"com.rivaan.allen.allen"
// 添加这一行,包名根据你的项目修改
compileSdkVersion
34
ndkVersion
flutter
.
ndkVersion
compileOptions
{
sourceCompatibility
JavaVersion
.
VERSION_1
_8
targetCompatibility
JavaVersion
.
VERSION_1
_8
sourceCompatibility
JavaVersion
.
VERSION_1
7
targetCompatibility
JavaVersion
.
VERSION_1
7
}
kotlinOptions
{
jvmTarget
=
'1
.8
'
jvmTarget
=
'1
7
'
}
sourceSets
{
...
...
android/build.gradle
浏览文件 @
a89b102e
...
...
@@ -6,11 +6,12 @@ buildscript {
}
dependencies
{
classpath
'com.android.tools.build:gradle:
7
.2.0'
classpath
'com.android.tools.build:gradle:
8
.2.0'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
// 最后是其他配置
allprojects
{
repositories
{
google
()
...
...
android/gradle/wrapper/gradle-wrapper.properties
浏览文件 @
a89b102e
...
...
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
7
.5-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
8
.5-all.zip
\ No newline at end of file
pubspec.yaml
浏览文件 @
a89b102e
...
...
@@ -39,7 +39,7 @@ dependencies:
http
:
^0.13.5
flutter_tts
:
^3.6.3
animate_do
:
^3.0.2
shared_preferences
:
^2.
2.2
shared_preferences
:
^2.
0.15
uuid
:
^4.3.3
dev_dependencies
:
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论