当前位置:网站首页>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 .
边栏推荐
猜你喜欢

Kotlin program control

Nodejs2day(nodejs的模块化,npm下载包,模块加载机制)

2022-7-6 personal qualifying 3 competition experience

How WPS sets page headers page by page

Bee guitar score high octave and low octave

2022-7-8 personal qualifying 5 competition experience (supplementary)

小蜜蜂吉他谱 高八度和低八度

Uninstallation of dual systems

Burp suite Chapter 3 how to use burp suite agent

Daily Note (11) -- word formula input arbitrary matrix
随机推荐
How to safely delete a useless activity in Android studio
[GUI] swing package (window, pop-up window, label, panel, button, list, text box)
[endnote] compilation of document types and abbreviations of document types
22-07-16 personal training match 3 competition experience
VIM cross line matching search
【EndNote】文献模板编排语法详解
我,35岁了。
OSPF summary
外卖小哥,才是这个社会最大的托底
Write common API tools swagger and redoc
Burp suite Chapter 8 how to use burp intruder
Shell programming
Spotty music data client_ ID account
Sed job
基础乐理 节奏联系题,很重要
BGP --- 边界网关协议
有点牛逼,一个月13万+
22-07-12 personal training match 1 competition experience
Super nice navigation page (static page)
BGP -- Border Gateway Protocol