Flutter: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Links) |
|||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 4: | Zeile 4: | ||
* [[Adb]] | * [[Adb]] | ||
* [[Sortator]] | * [[Sortator]] | ||
* [[GetX]] | |||
* [[Flutter-Apps]] | |||
* [[Flutter-Bones]] | |||
* [[Flutter-Widgets]] | |||
= Installation Android-Studio = | = Installation Android-Studio = |
Aktuelle Version vom 25. September 2022, 06:38 Uhr
Kategorie:Entwicklung
Links[Bearbeiten]
Installation Android-Studio[Bearbeiten]
sudo apt install git curl xz-utils zip
# als Benutzer coder
cd ~
mkdir -p dev
cd dev
tar xf ~/Downloads/flutter_linux_2.0.5-stable.tar.xz
for bin in flutter dart; do
sudo ln -s /home/coder/dev/flutter/bin/$bin /usr/local/bin
done
- Download https://developer.android.com/studio
cd ~/dev
tar xf /home/coder/Downloads/android-studio-ide*.tar.gz
- In den Settings: Appearance & Behaviour - System Settings - Android-SDK
- Tools:
[x]
Android SDK Platform-Tools
- Tools:
flutter doctor --android-licenses
flutter config --enable-linux-desktop
flutter config --android-studio-dir /home/coder/dev/android-studio
apt install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
flutter doctor
Korrekturen[Bearbeiten]
- 64-k-Referenz-Problem:
- android/app/build.gradle:
android { ... defaultConfig { ... mulitDexEnabled true ... } }
Release[Bearbeiten]
flutter build linux