Commit da57e288e0f9ea33c5f84e6e139767197932a51b
1 parent
b671c891
fixed: Android打包不压缩资源
Showing
3 changed files
with
7 additions
and
18 deletions
README.md
1 | -# wow_english | |
1 | +# Wow English | |
2 | 2 | |
3 | -A new Flutter project. | |
4 | - | |
5 | -## Getting Started | |
6 | - | |
7 | -This project is a starting point for a Flutter application. | |
8 | - | |
9 | -A few resources to get you started if this is your first Flutter project: | |
10 | - | |
11 | -- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) | |
12 | -- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) | |
13 | - | |
14 | -For help getting started with Flutter development, view the | |
15 | -[online documentation](https://docs.flutter.dev/), which offers tutorials, | |
16 | -samples, guidance on mobile development, and a full API reference. | |
3 | +* flutter版本号:3.19.2 | ... | ... |
android/app/build.gradle
... | ... | @@ -73,9 +73,13 @@ android { |
73 | 73 | buildTypes { |
74 | 74 | debug { |
75 | 75 | signingConfig signingConfigs.release |
76 | + minifyEnabled false | |
77 | + shrinkResources false | |
76 | 78 | } |
77 | 79 | release { |
78 | 80 | signingConfig signingConfigs.release |
81 | + minifyEnabled false | |
82 | + shrinkResources false | |
79 | 83 | } |
80 | 84 | } |
81 | 85 | } |
... | ... | @@ -85,7 +89,6 @@ flutter { |
85 | 89 | } |
86 | 90 | |
87 | 91 | dependencies { |
88 | - | |
89 | 92 | // sing sound |
90 | 93 | implementation 'com.singsound.library:evaluating:2.1.9' |
91 | 94 | implementation "com.google.code.gson:gson:2.10" | ... | ... |
lib/main.dart
1 | 1 | import 'dart:io'; |
2 | 2 | |
3 | -import 'package:flutter/foundation.dart'; | |
4 | 3 | import 'package:flutter/material.dart'; |
5 | 4 | import 'package:flutter/services.dart'; |
6 | 5 | import 'package:package_info_plus/package_info_plus.dart'; |
... | ... | @@ -36,7 +35,7 @@ void main() { |
36 | 35 | enableLog: BasicConfig.isTestDev, |
37 | 36 | |
38 | 37 | // 您使用的flutter版本,默认为空,为方便定位访问,建议配置 |
39 | - flutterVersion: '3.13.2', | |
38 | + flutterVersion: '3.19.2', | |
40 | 39 | |
41 | 40 | // 您使用的flutter引擎版本 |
42 | 41 | engineVersion: 'ff5b5b5fa6', | ... | ... |