From 41fa258191c797269b38ae4530cb6c4f95d7da1d Mon Sep 17 00:00:00 2001
From: PH2 <1293456824@qq.com>
Date: Mon, 26 Oct 2020 11:08:53 +0800
Subject: [PATCH] =?UTF-8?q?1=E3=80=81Android=E7=9A=84=E5=90=AF=E5=8A=A8?=
=?UTF-8?q?=E4=BC=98=E5=8C=96=202=E3=80=81Android=E7=9A=84=E7=8A=B6?=
=?UTF-8?q?=E6=80=81=E6=A0=8F=E7=9A=84=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
example/android/app/build.gradle | 12 +--
.../android/app/src/main/AndroidManifest.xml | 25 ++++---
.../MainActivity.java | 73 ++++++++++++++-----
3 files changed, 78 insertions(+), 32 deletions(-)
diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
index 972d31e..60bd897 100644
--- a/example/android/app/build.gradle
+++ b/example/android/app/build.gradle
@@ -34,7 +34,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
- compileSdkVersion 29
+ compileSdkVersion 28
lintOptions {
disable 'InvalidPackage'
@@ -44,7 +44,7 @@ android {
defaultConfig {
applicationId "cn.zhios.zhiying"
minSdkVersion 21
- targetSdkVersion 29
+ targetSdkVersion 28
versionCode 1
versionName "1.0"
aaptOptions.cruncherEnabled = false
@@ -90,7 +90,7 @@ android {
-//
+
// // 签名配置
// signingConfigs {
// // 智夜生活
@@ -113,14 +113,14 @@ android {
// // 智夜生活
// zhiying {
// applicationId "cn.zhios.zhiying"
-// versionCode 1
+// versionCode 3
// dimension "app"
-// versionName '1.0.0'
+// versionName '1.0.3'
// // 签名信息
// signingConfig signingConfigs.zhiying
// }
// }
-
+//
// // 打包脚本
// android.applicationVariants.all { variant ->
// if (variant.buildType.name != "debug") {
diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml
index b5031d2..5c2c46e 100644
--- a/example/android/app/src/main/AndroidManifest.xml
+++ b/example/android/app/src/main/AndroidManifest.xml
@@ -13,15 +13,15 @@
android:label="@string/app_name"
android:usesCleartextTraffic="true"
tools:replace="android:name">
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+