PIYP-app / piyp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

piyp

Requirements

First you must install:

Afterwards you must run:

$ mise plugins install android-sdk https://github.com/Syquel/mise-android-sdk.git
$ mise install java yq # Install first because they are required by others tools
$ mise install
$ sdkmanager "platform-tools" "build-tools;33.0.3" "platforms;android-33" # Only if you want to build for android
$ yes | flutter doctor --android-licenses # Only if you want to build for android

At this point you should be ready to build app for android at least, please don't use flutter upgrade since this can break installation in some ways.

If you don't want to use mise you can follow the instructions from official website. https://docs.flutter.dev/get-started/install/macos/mobile-ios?tab=download#install-the-flutter-sdk

Getting started

Start

To start PIYP, run the following command:

flutter run

Create android emulator

You can create an android emulator using these commands:

$ sdkmanager "platform-tools" "build-tools;33.0.3" "platforms;android-33"
$ sdkmanager --install "system-images;android-33;google_apis;x86_64"
$ avdmanager create avd --name Pixel_8_Pro_AVD --package "system-images;android-33;google_apis;x86_64" --device "pixel_8_pro"

Then you must launch the emulator:

$ flutter emulators --launch Pixel_8_Pro_AVD

Finally you can now deploy PIYP on your emulator with:

$ flutter run

FAQ

Flutter installation

Refer to asdf-flutter troobleshooting.

Gradle

If you have an error with grade, try to run the following commands:

$ rm -rf ~/.gradle/ ~/.pub-cache
$ flutter pub get

About


Languages

Language:Dart 41.5%Language:C++ 27.2%Language:CMake 21.4%Language:Swift 3.1%Language:Ruby 3.1%Language:HTML 2.0%Language:C 1.6%Language:Kotlin 0.1%Language:Objective-C 0.0%