diff --git a/android/app/build.gradle b/android/app/build.gradle index 3948aa5e..64fea2d0 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -32,7 +32,7 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 29 + compileSdkVersion 28 sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -46,7 +46,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.akuCommunity.app" minSdkVersion 21 - targetSdkVersion 29 + targetSdkVersion 28 versionCode flutterVersionCode.toInteger() versionName flutterVersionName ndk { diff --git a/pubspec.lock b/pubspec.lock index 0b8abc49..608e30ea 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -38,13 +38,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "3.0.0" - archive: - dependency: transitive - description: - name: archive - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.1.2" args: dependency: transitive description: @@ -94,13 +87,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "4.0.1" - cached_network_image: - dependency: "direct main" - description: - name: cached_network_image - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.0.0-nullsafety" characters: dependency: transitive description: @@ -192,20 +178,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "4.0.0" - extended_text: - dependency: "direct main" - description: - name: extended_text - url: "https://pub.flutter-io.cn" - source: hosted - version: "5.0.4" - extended_text_library: - dependency: transitive - description: - name: extended_text_library - url: "https://pub.flutter-io.cn" - source: hosted - version: "5.0.2" fake_async: dependency: transitive description: @@ -239,20 +211,6 @@ packages: description: flutter source: sdk version: "0.0.0" - flutter_blurhash: - dependency: transitive - description: - name: flutter_blurhash - url: "https://pub.flutter-io.cn" - source: hosted - version: "0.5.4-nullsafety.0" - flutter_cache_manager: - dependency: transitive - description: - name: flutter_cache_manager - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.0.0-nullsafety.2" flutter_easyrefresh: dependency: "direct main" description: @@ -380,13 +338,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "4.0.0" - image: - dependency: transitive - description: - name: image - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.0.2" image_picker: dependency: "direct main" description: @@ -464,13 +415,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.0.0" - octo_image: - dependency: transitive - description: - name: octo_image - url: "https://pub.flutter-io.cn" - source: hosted - version: "1.0.0-nullsafety.1" open_file: dependency: "direct main" description: @@ -548,20 +492,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "3.1.1" - petitparser: - dependency: transitive - description: - name: petitparser - url: "https://pub.flutter-io.cn" - source: hosted - version: "4.0.2" - photo_view: - dependency: "direct main" - description: - name: photo_view - url: "https://pub.flutter-io.cn" - source: hosted - version: "0.11.1" platform: dependency: transitive description: @@ -627,13 +557,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.0.0" - rxdart: - dependency: transitive - description: - name: rxdart - url: "https://pub.flutter-io.cn" - source: hosted - version: "0.26.0" shared_preferences: dependency: transitive description: @@ -702,20 +625,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.0.3" - sqflite: - dependency: transitive - description: - name: sqflite - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.0.0+3" - sqflite_common: - dependency: transitive - description: - name: sqflite_common - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.0.0+2" stack_trace: dependency: transitive description: @@ -828,13 +737,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.0.0" - uuid: - dependency: transitive - description: - name: uuid - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.0.2" vector_math: dependency: transitive description: @@ -870,13 +772,6 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "0.2.0" - xml: - dependency: transitive - description: - name: xml - url: "https://pub.flutter-io.cn" - source: hosted - version: "5.0.2" yaml: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index ac99d5be..11e942d8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -23,11 +23,6 @@ dependencies: # icons # TODO need remove flutter_icons: 1.1.0 - extended_text: ^5.0.4 - #图片预览 - photo_view: ^0.11.1 - #图片缓存 - cached_network_image: ^3.0.0-nullsafety #弹窗 bot_toast: ^4.0.1 #滑块 @@ -48,7 +43,7 @@ dependencies: hive: ^2.0.0 hive_flutter: ^1.0.0 logger: ^1.0.0 - flutter_easyrefresh: ^2.1.8 + flutter_easyrefresh: 2.1.8 random_character: git: url: http://159.75.73.143:8080/mengfucius/random_character