Skip to content

tct123/gsm

 
 

Repository files navigation

Test GC7 App

Run the app

Win

Éxécuter

./go

Lancer le build APK

./apk

uv - Alternative à pip + env + flet run

Outil ultra‑rapide et minimaliste pour installer, exécuter et gérer des environnements.

Run as a desktop app:

uv run flet run

Run as a web app:

uv run flet run --web -r
OU MIEUX si App flet installée dans Phone :
uv run flet run --android

Option -r => Phone: http://:8550 (Voir avec ipconfig → Carte réseau sans fil Wi-Fi : IPv4)


Option 2 — Application Flet sur le téléphone (rendu natif identique à l'APK) ★

Installez l'application Flet depuis le Play Store. Puis lancez en local:

uv run flet run --web --host 0.0.0.0 --port 8550 -r uv run flet run --web --host 192.168.80.205 --port 8550 -r

Avantages: rendu 100% fidèle à l'APK, hot reload, aucun build Limite: l'app Flet doit être installée une fois sur le téléphone

Construire apk

uv run flet build apk -v

C:\gsm\build\flutter\android\app\build.gradle.kts

→ Vérifier val resolvedMinSdk = 24

et ajouter en fin de fichier :

// Work around AGP/Kotlin lint crashes in some Flutter plugins during release APK builds. subprojects { tasks.matching { it.name == "lintVitalAnalyzeRelease" || it.name == "lintAnalyzeRelease" || it.name == "lintRelease" }.configureEach { enabled = false } }

Avant :

tasks.register("clean") { delete(rootProject.layout.buildDirectory) }

  • Voir la procédure exacte pour signer le fichier APK généré → GgleStore

Pour savoir quel Py est utilisé par uv

 uv run python -c "import sys; print(sys.executable)"

For more details on running the app, refer to the Getting Started Guide.

Build the app ONLY from C:\

Android

uv run flet build apk -v

For more details on building and signing .apk or .aab, refer to the Android Packaging Guide.

iOS & macOS (Need macOS comme système hôte)

uv run flet build ipa -v

For more details on building and signing .ipa, refer to the iOS Packaging Guide.

uv run flet build macos -v

For more details on building macOS package, refer to the macOS Packaging Guide.

Linux

uv run flet build linux -v

For more details on building Linux package, refer to the Linux Packaging Guide.

Windows

flet build windows -v

Windows Pb de place

Efface les builds précédents

uv run rm -r c:\gsm\src\build\flutter\build -Force -ErrorAction SilentlyContinue
rm -r $env:LOCALAPPDATA\Temp\serious_python_* -Force -ErrorAction SilentlyContinueflet build windows -v

For more details on building Windows package, refer to the Windows Packaging Guide.


Structure

c:\gsm/
├── src/           ← Application active (refactorisée)
├── build/         ← Artefacts de build
├── .git/          ← Version control
├── .venv/         ← Environnement Python
├── .vscode/       ← Config VS Code
├── pyproject.toml ← Dépendances (uv)
├── README.md
├── apk.ps1        ← Build APK
└── go.ps1         ← Lanceur

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 94.4%
  • PowerShell 4.2%
  • Shell 1.3%
  • JavaScript 0.1%