Skip to content

Commit 95a8a76

Browse files
authored
Update android configuration (flutter#3408)
[google_maps_flutter] Update example android configuration
1 parent 6d5cb85 commit 95a8a76

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

packages/google_maps_flutter/google_maps_flutter/example/android/app/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727
android {
2828
compileSdkVersion flutter.compileSdkVersion
2929

30-
lintOptions {
31-
disable 'InvalidPackage'
32-
}
3330

3431
defaultConfig {
3532
applicationId "io.flutter.plugins.googlemapsexample"
@@ -66,6 +63,10 @@ android {
6663
api 'androidx.test:core:1.2.0'
6764
testImplementation 'com.google.android.gms:play-services-maps:17.0.0'
6865
}
66+
namespace 'io.flutter.plugins.googlemapsexample'
67+
lint {
68+
disable 'InvalidPackage'
69+
}
6970
}
7071

7172
flutter {

packages/google_maps_flutter/google_maps_flutter/example/android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="io.flutter.plugins.googlemapsexample">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32
<!-- Flutter needs internet permission to communicate with the running application
43
to allow setting breakpoints, to provide hot reload, etc.
54
-->

packages/google_maps_flutter/google_maps_flutter/example/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="io.flutter.plugins.googlemapsexample">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32

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

packages/google_maps_flutter/google_maps_flutter/example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:7.0.1'
8+
classpath 'com.android.tools.build:gradle:7.4.2'
99
}
1010
}
1111

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
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip

0 commit comments

Comments
 (0)