Browse Source

增加签名

root 7 months ago
parent
commit
6a0ef8e19f
1 changed files with 9 additions and 0 deletions
  1. 9 0
      Android/app/build.gradle

+ 9 - 0
Android/app/build.gradle

@@ -2,6 +2,15 @@ apply plugin: 'com.android.application'
 
 android {
     compileSdkVersion 31
+
+    signingConfigs {
+        release {
+            storeFile file('SocketChat.jks')
+            storePassword 'TxPNR4jg'
+            keyAlias 'key0'
+            keyPassword 'TxPNR4jg'
+        }
+    }
     defaultConfig {
         applicationId "com.example.socketdemo"
         minSdkVersion 16