From cdddc471d7ad09b2434141a9a2e1fb28d5053c18 Mon Sep 17 00:00:00 2001 From: Jose Alba Date: Tue, 17 Dec 2019 04:25:15 -0500 Subject: [PATCH] Fix apk release issue for new Flutter Gallery (#185) * Fix apk release issue * Removed TODO * Removed TODO --- gallery/gallery/android/app/build.gradle | 3 +-- gallery/gallery/android/app/src/debug/AndroidManifest.xml | 2 +- gallery/gallery/android/app/src/main/AndroidManifest.xml | 4 ++-- .../{com/example => io/flutter/demo}/gallery/MainActivity.kt | 2 +- gallery/gallery/pubspec.yaml | 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) rename gallery/gallery/android/app/src/main/kotlin/{com/example => io/flutter/demo}/gallery/MainActivity.kt (90%) diff --git a/gallery/gallery/android/app/build.gradle b/gallery/gallery/android/app/build.gradle index 67bc907af..2a761ab74 100644 --- a/gallery/gallery/android/app/build.gradle +++ b/gallery/gallery/android/app/build.gradle @@ -37,8 +37,7 @@ android { } defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.example.gallery" + applicationId "io.flutter.demo.gallery" minSdkVersion 16 targetSdkVersion 28 versionCode flutterVersionCode.toInteger() diff --git a/gallery/gallery/android/app/src/debug/AndroidManifest.xml b/gallery/gallery/android/app/src/debug/AndroidManifest.xml index ef5f37de9..c03b348aa 100644 --- a/gallery/gallery/android/app/src/debug/AndroidManifest.xml +++ b/gallery/gallery/android/app/src/debug/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="io.flutter.demo.gallery"> diff --git a/gallery/gallery/android/app/src/main/AndroidManifest.xml b/gallery/gallery/android/app/src/main/AndroidManifest.xml index 306e9c70e..2a6d1cd8a 100644 --- a/gallery/gallery/android/app/src/main/AndroidManifest.xml +++ b/gallery/gallery/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="io.flutter.demo.gallery">