In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to deploy Flutter development framework under Linux related knowledge, the content is detailed and easy to understand, simple and fast operation, has a certain reference value, I believe you will have a harvest after reading this article on how to deploy Flutter development framework under Linux, let's take a look.
Flutter is a mobile application development framework developed by Google using the Dart language. Using a set of iOS code, you can quickly build high-performance, high-fidelity iOS and Android applications, and achieve zero difference in typesetting, icons, scrolling, clicking and so on.
Version Info CentOS Linux release 7.7.1908 (Core) java version "1.8.0mm 241" git version 2.22.0Android SDK version 29.0.3Flutter version 1.12.13+hotfix.912345 install gityum-y install git unzip zip1
Update git version
The default git version of CentOS 7 is 1.8.3. The existence of BUG in this version of git will cause the version recognized by Flutter to become 0.0.0-unknown. You need to upgrade the git version. Git upgrade reference information: # yum-y install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm#yum-y install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco- Git-release-7-1.noarch.rpmyum-y install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpmyum-y update git1234git version 2.22.01 install JDKtar-zxvf jdk-8u241-linux-x64.tar.gz-C / usr/local1 configuration environment variable / etc/profile add # custom variable export JAVA_HOME=/usr/local/jdk1.8.0_241export ANDROID_HOME=/usr/local / sdkexport FLUTTER_HOME=/usr/local/flutterexport PUB_HOSTED_URL= https://pub.flutter-io.cnexport FLUTTER_STORAGE_BASE_URL= https://storage.flutter-io.cnexport PATH=$ {JAVA_HOME} / bin:$ {ANDROID_HOME} / build-tools/29.0.3:$ {ANDROID_HOME} / cmdline-tools/latest/bin:$ {ANDROID_HOME} / platform-tools:$ {FLUTTER_HOME} / bin:$ {PATH} 1234567source / etc/profile1 install Android SDKunzip commandlinetools-linux -6200805_latest.zip-d / usr/localmkdir-p / usr/local/sdkcd / usr/local/tools/bin./sdkmanager-- list-- sdk_root=/usr/local/sdk # shows the installable package. / sdkmanager-- install "platforms Android-29 "--sdk_root=/usr/local/sdk # install android-29./sdkmanager-- install" platform-tools "--sdk_root=/usr/local/sdk # install platform-tools./sdkmanager-- install" build-tools;29.0.3 "--sdk_root=/usr/local/sdk # install build-tools./sdkmanager-- install" cmdline-tools Latest "--sdk_root=/usr/local/sdk # install cmdline-tools12345678 install fluttercd / usr/local#git clone https://github.com/flutter/flutter.git-b v1.14.4git clone https://github.com/flutter/flutter.git-b stable123 verify flutter doctor-v1 Woah! You appear to be trying to run flutter as root. We strongly recommend running the flutter tool without superuser privileges. /? [✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Linux, locale en_US.UTF-8) Flutter version 1.12.13+hotfix.9 at / usr/local/flutter Framework revision f139b11009 (13 days ago), 2020-03-30 13:57:30-0700 Engine revision af51afceb8 Dart version 2.7.2 [!] Android toolchain-develop for Android devices (Android SDK version 29.0.3) Android SDK at / usr/local/sdk Android NDK location not configured (optional; useful for native profiling support) Platform android-29, build-tools 29.0.3 ANDROID_HOME = / usr/local/sdk Java binary at: / usr/local/jdk1.8.0_241/bin/java Java version Java (TM) SE Runtime Environment (build 1.8.0_241-b07)! Some Android licenses not accepted. To resolve this, run: flutter doctor-android-licenses [!] Android Studio (not installed) Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/setup/#android-setup for detailed instructions). Connected device! No devices available! Doctor found issues in 3 categories. This is the end of the article on "how to deploy Flutter development framework under Linux". Thank you for reading! I believe that everyone has a certain understanding of the knowledge of "how to deploy Flutter development framework under Linux". If you want to learn more knowledge, welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.