当前位置:网站首页>Flutter upgrade 2.10
Flutter upgrade 2.10
2022-07-26 08:27:00 【Peanut - Summer】
AndroidStudio Corresponding upgrade Support web distinguish
xcode Corresponding upgrade :
see pod edition :pod --version
if necessary : upgrade cocoapods edition
Carry out orders :
sudo gem install cocoapods --pre perhaps sudo gem install -n /usr/local/bin cocoapods --pre
1:compileSdkVersion Advice to 30
2:gradle edition gradle-6.1.1-all.zip
3:kotlin edition kotlin_version = '1.5.31'
4:TextField Digital input limit of .WhitelistingTextInputFormatter Change to FilteringTextInputFormatter.digitsOnly
5:bugly upgrade 4.0 oktoast 3.11
6:flutter_widgets Of MediaQuery.of(context)?.textScaleFactor Change to a single parameter
7:talkingData Of Upgrading is more troublesome , need Android iOS The file is put in and it's own demo There are also problems , Need to debug
8: compiler (1.8.0_242-release) An unexpected error occurred in , Change compileSdkVersion by 30 perhaps 31
If it doesn't work , Upgrade directly AndroidStudio The latest version .
9:dio The use of needs to be updated to 4.0 Look at the official documents , Many have been changed
10: The network requested url Nor can it be empty or invalid
11: One of access analysis SDK among BDAutoTrackServiceVendorCN Invalid, need to be replaced with BDAutoTrackServiceVendorPrivate
12:flutter build apk --obfuscate --split-debug-info=splitMap --target-platform android-arm,android-arm64,android-x64 --split-per-abi Separate packing
13:flutter build apk --release --target-platform android-arm64 --split-per-abi Separate packing
Package consolidation after upgrade :
Program type already present The fastest solution _lylailyb The blog of -CSDN Blog
Recent integration projects , There are many problems , Among them Program type already present This problem , This is mainly because there are different versions of the same dependent package in the project , Different versions of the same dependency package may come from your dependencies , This is obvious , Some may also be from your other dependent packages, which also depend on this package , Through the log , You can copy the corresponding class , Then the shortcut key ctrl+alt+o See where this class is in the project jar In bag , Easy to use shortcut keys , If it is mac Computers are cmd+alt+o, Then unify the version . Can be shared , Just remove one , If you can't share , It will be unified into one version , After unification, it needs to be modified , For example, my premise glide The problem of , There is 3.x and 4.x The problem of , The versions are very different , I changed it to 4.x An error is reported after the version of , Then according to the error report info, Make corresponding modifications .
边栏推荐
- Day 4 homework
- Error handling response: Error: Syntax error, unrecognized expression: .c-container /deep/ .c-contai
- 2022-024arts: Longest valid bracket
- One click deployment lamp and LNMP architecture
- 2022 7/5 exam summary
- 2022/7/9 exam summary
- How to safely delete a useless activity in Android studio
- Spotty music data client_ ID account
- 2022-7-4 personal qualifying 1 competition experience
- 我,35岁了。
猜你喜欢

2022-7-6 personal qualifying 3 competition experience

全网最全:Mysql六种约束详解

Matplotlib learning notes

Let's talk about the three core issues of concurrent programming.

苹果强硬新规:用第三方支付也要抽成,开发者亏大了!

宇宙第一 IDE 霸主,换人了。。。

OSPF summary

C # get the information of the selected file

B title: razlika priority queue approach

Code cloud change remote warehouse command
随机推荐
[GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)
Date and time function of MySQL function summary
Zroi easy sum (generating function, block, DP, combination, polynomial)
General Dao interface design
Kotlin function
外卖小哥,才是这个社会最大的托底
22-07-16 personal training match 3 competition experience
Burp suite Chapter 9 how to use burp repeater
2022 7/5 exam summary
Take out brother is the biggest support in this society
BGP -- Border Gateway Protocol
Fluent custom popupmenubutton
Official Oracle document
99 multiplication table and inverted triangle 99 multiplication table
2022/7/1
关于期刊论文所涉及的一些概念汇编+期刊查询方法
Let's talk about the three core issues of concurrent programming.
QT note 1
[endnote] detailed explanation of document template layout syntax
The second lesson is the construction of development environment