Skip to content

Commit 7543adf

Browse files
committed
Fixed Android build error + lag issue
1 parent 8ca8385 commit 7543adf

9 files changed

+51
-17
lines changed

android.zip

1.63 MB
Binary file not shown.

android/app/build.gradle

+3-7
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,17 @@ apply plugin: 'kotlin-android'
2626
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

2828
android {
29-
compileSdkVersion 29
29+
compileSdkVersion 30
3030

3131
sourceSets {
3232
main.java.srcDirs += 'src/main/kotlin'
3333
}
3434

35-
lintOptions {
36-
disable 'InvalidPackage'
37-
}
38-
3935
defaultConfig {
4036
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41-
applicationId "com.example.star_tracker"
37+
applicationId "com.example.test2"
4238
minSdkVersion 16
43-
targetSdkVersion 29
39+
targetSdkVersion 30
4440
versionCode flutterVersionCode.toInteger()
4541
versionName flutterVersionName
4642
}

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.5.0'
9+
classpath 'com.android.tools.build:gradle:4.1.0'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}

android/gradle.properties

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
org.gradle.jvmargs=-Xmx1536M
22
android.useAndroidX=true
33
android.enableJetifier=true
4-
android.enableR8=true

android/gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip

android/settings_aar.gradle

-1
This file was deleted.

ios/Podfile.lock

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
PODS:
2+
- Flutter (1.0.0)
3+
- geolocator (6.2.0):
4+
- Flutter
5+
- location (0.0.1):
6+
- Flutter
7+
- url_launcher (0.0.1):
8+
- Flutter
9+
- weather (0.0.1):
10+
- Flutter
11+
12+
DEPENDENCIES:
13+
- Flutter (from `Flutter`)
14+
- geolocator (from `.symlinks/plugins/geolocator/ios`)
15+
- location (from `.symlinks/plugins/location/ios`)
16+
- url_launcher (from `.symlinks/plugins/url_launcher/ios`)
17+
- weather (from `.symlinks/plugins/weather/ios`)
18+
19+
EXTERNAL SOURCES:
20+
Flutter:
21+
:path: Flutter
22+
geolocator:
23+
:path: ".symlinks/plugins/geolocator/ios"
24+
location:
25+
:path: ".symlinks/plugins/location/ios"
26+
url_launcher:
27+
:path: ".symlinks/plugins/url_launcher/ios"
28+
weather:
29+
:path: ".symlinks/plugins/weather/ios"
30+
31+
SPEC CHECKSUMS:
32+
Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
33+
geolocator: f5e3de65e241caba7ce3e8a618803387bda73384
34+
location: 3a2eed4dd2fab25e7b7baf2a9efefe82b512d740
35+
url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef
36+
weather: a61cb57d3f28e042b84c6ccdf3b3b2b1835530d2
37+
38+
PODFILE CHECKSUM: 8bc275aefbb61176b74a34fbb19fd07e4c46e63c
39+
40+
COCOAPODS: 1.10.1

pubspec.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -85,21 +85,21 @@ packages:
8585
name: geolocator
8686
url: "https://pub.dartlang.org"
8787
source: hosted
88-
version: "7.0.1"
88+
version: "6.2.1"
8989
geolocator_platform_interface:
9090
dependency: transitive
9191
description:
9292
name: geolocator_platform_interface
9393
url: "https://pub.dartlang.org"
9494
source: hosted
95-
version: "2.0.0"
95+
version: "1.0.9"
9696
geolocator_web:
9797
dependency: transitive
9898
description:
9999
name: geolocator_web
100100
url: "https://pub.dartlang.org"
101101
source: hosted
102-
version: "2.0.1"
102+
version: "1.0.1"
103103
http:
104104
dependency: "direct dev"
105105
description:
@@ -162,7 +162,7 @@ packages:
162162
name: plugin_platform_interface
163163
url: "https://pub.dartlang.org"
164164
source: hosted
165-
version: "2.0.0"
165+
version: "1.0.3"
166166
sky_engine:
167167
dependency: transitive
168168
description: flutter
@@ -244,7 +244,7 @@ packages:
244244
name: url_launcher_platform_interface
245245
url: "https://pub.dartlang.org"
246246
source: hosted
247-
version: "2.0.2"
247+
version: "2.0.1"
248248
url_launcher_web:
249249
dependency: transitive
250250
description:

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies:
1717
weather:
1818
url_launcher:
1919
cupertino_icons: ^1.0.0
20-
geolocator: ^7.0.1
20+
geolocator:
2121

2222
dev_dependencies:
2323
http:

0 commit comments

Comments
 (0)