Flutter codes
Path: "android/gradle/wrapper/gradle-wrapper.properties"
line 6
Change zip version: gradle-<new_version>-all.zip
Path: "android/build.gradle"
line 1
Path: "android/build.gradle"
line 9
Change classpath: com.android.tools.build:gradle:<new_version>
- For version definition - see error in debug console
sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev docker.io
sudo usermod -aG docker $USER
git clone https://github.com/flutter/flutter.git
mv -f flutter repos
echo -e "\n\nexport PATH="\$PATH:~/repos/flutter/bin" >> ~/.bashrc
source $HOME/.bashrc
flutter
flutter doctor
flutter config --enable-linux-desktop
cd hello
code lib/
flutter run -d linux
flutter create --platforms=linux -t app <app_name>
flutter create --platforms=linux,web -t app <app_name>
sudo apt install -y python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace fuse
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O $HOME/bin/appimagetool
cd bin/
chmod +x appimagetool
total 40K
-rw-rw-r-- 1 labolicha labolicha 1,5K out 2 13:06 analysis_options.yaml
drwxrwxr-x 6 labolicha labolicha 4,0K out 2 13:15 build
drwxrwxr-x 2 labolicha labolicha 4,0K out 2 13:06 lib
drwxrwxr-x 3 labolicha labolicha 4,0K out 2 13:06 linux
-rw-rw-r-- 1 labolicha labolicha 3,7K out 2 13:06 pubspec.lock
-rw-rw-r-- 1 labolicha labolicha 3,7K out 2 13:06 pubspec.yaml
-rw-rw-r-- 1 labolicha labolicha 540 out 2 13:06 README.md
drwxrwxr-x 2 labolicha labolicha 4,0K out 2 13:06 test
-rw-rw-r-- 1 labolicha labolicha 896 out 2 13:06 thecounter.iml
flutter build linux
cp -rv ./build/linux/x64/release/bundle ./AppDir
appimage-builder --generate
appimage-builder --recipe AppImageBuilder.yml
- Change title bar at lines 43 and 47 in
<folder_name>/linux/my_application.cc
flutter build linux
appimage-builder --recipe AppImageBuilder.yml
./<name-app-standalone>.AppImage
date +%Y-%m-%d
man strftime