Skip to content

Commit ceb1452

Browse files
authored
Fix Android build (#198)
* Regenerate android project * Enforce [email protected]
1 parent 81b147d commit ceb1452

File tree

6 files changed

+12
-10
lines changed

6 files changed

+12
-10
lines changed

.metadata

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ migration:
1515
- platform: root
1616
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
1717
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
18+
- platform: android
19+
create_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
20+
base_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
1821
- platform: ios
1922
create_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
2023
base_revision: 9cd3d0d9ff05768afa249e036acc66e8abe93bff

android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2929

3030
android {
3131
compileSdkVersion 33
32+
namespace "com.daohoangson.flutter_ttdemo"
3233
ndkVersion flutter.ndkVersion
3334

3435
compileOptions {

android/app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.daohoangson.flutter_ttdemo">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32

43
<uses-permission android:name="android.permission.INTERNET"/>
54

65
<application
7-
android:name="${applicationName}"
8-
android:label="@string/app_name"
96
android:allowBackup="true"
107
android:fullBackupContent="@xml/backup_rules"
8+
android:label="@string/app_name"
9+
android:name="${applicationName}"
1110
android:icon="@mipmap/ic_launcher">
1211
<activity
1312
android:name=".MainActivity"

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
buildscript {
2-
ext.kotlin_version = '1.6.10'
2+
ext.kotlin_version = '1.7.10'
33
repositories {
44
google()
55
mavenCentral()
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:7.1.2'
9+
classpath 'com.android.tools.build:gradle:7.3.0'
1010
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
1111
classpath 'com.google.gms:google-services:4.3.8'
1212
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@@ -28,6 +28,6 @@ subprojects {
2828
project.evaluationDependsOn(':app')
2929
}
3030

31-
task clean(type: Delete) {
31+
tasks.register("clean", Delete) {
3232
delete rootProject.buildDir
3333
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Fri Jun 23 08:50:38 CEST 2017
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
43
zipStoreBase=GRADLE_USER_HOME
54
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip

packages/api/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
sdk: flutter
1212
freezed_annotation: ^2.1.0
1313
http: ^0.13.5
14-
json_annotation: ^4.4.0
14+
json_annotation: ^4.8.1
1515
path:
1616

1717
dev_dependencies:

0 commit comments

Comments
 (0)