drew hace 6 años
padre
commit
dadcfb12e1

+ 15 - 2
android/app/build.gradle

@@ -45,10 +45,23 @@ android {
         versionName flutterVersionName
     }
 
+    signingConfigs {
+        release {
+            keyAlias 'zouma'
+            keyPassword '3edc#EDC'
+            storeFile file('release.jks')
+            storePassword '3edc#EDC'
+        }
+        debug {
+            storeFile file('debug.jks')
+        }
+    }
+
     buildTypes {
         release {
-            // TODO: Add your own signing config for the release build.
-            // Signing with the debug keys for now, so `flutter run --release` works.
+            signingConfig signingConfigs.release
+        }
+        debug {
             signingConfig signingConfigs.debug
         }
     }

BIN
android/app/debug.jks


BIN
android/app/release.jks


+ 1 - 1
android/app/src/main/AndroidManifest.xml

@@ -7,7 +7,7 @@
          FlutterApplication and put your custom class here. -->
     <application
         android:name="io.flutter.app.FlutterApplication"
-        android:label="jmrh"
+        android:label="江西军民融合"
         android:icon="@mipmap/ic_launcher">
         <activity
             android:name=".MainActivity"