bug: `flet build` fails on rebuild
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- flutter, python
- Área
- build-system, mobile
Línea de trabajo
Start by tracing how flet build prepares and cleans build/flutter-packages and how the generated Flutter project records extension package paths; the issue names no source files or tests. Reproduce by building an Android project with the listed extensions twice without changing dependencies, then inspect the second build's Flutter dependency resolution. Done when the second build succeeds with the extensions installed.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
After a successful flet build apk, running flet build again (without changing
dependencies) can fail during "Running build hooks" because the generated Flutter
project still depends on an extension package from build\flutter-packages\, but that
folder no longer exists at that point.
Error:
Running build hooks...Because *** depends on flet_onesignal from path which
doesn't exist (could not find package flet_onesignal at
"D:\***\***\build\flutter-packages\flet_onesignal"), version solving failed.
The folder build\flutter-packages does not exist on disk after the failure.
The extension's Python package (flet-onesignal) is installed and was bundled
successfully in the earlier build.
Code sample
Code
Running build hooks...Because *** depends on flet_onesignal from path which
doesn't exist (could not find package flet_onesignal at
"D:\***\***\build\flutter-packages\flet_onesignal"), version solving failed.
To reproduce
- Project using Flet 1.0.5 with the extensions
flet-map,flet-geolocatorand
flet-onesignal, built for Android. - Run
flet build apk— it succeeds. - Without changing
pyproject.toml, runflet buildfor Android again. - The build stops at the Flutter dependency resolution step with the error above.
- Deleting the whole
buildfolder before the next run avoids the error [confirm].
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
11
Flet version
1.0.5
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]
Additional details
No response
- Lenguaje dominante
- Python
- Estrellas
- 17.5k
- Forks
- 740
- Merge medio
- 1 d 11 h
- PR fusionados (30 d)
- 75
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de flet-dev/flet
-
feature: python 3.15 supportAbiertofeature request
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
flet-dev/flet#6985 · 3 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
feature request
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 1-2 días Aptitud para principiantes 42/100
Los mantenedores suelen responder en 1 día
-
bug: TextField does not resize verticallyQuizá libre de nuevo @ndonkoHenri la tomó hace 33 días y no hay ningún pull request abierto. Abiertobug
flet-dev/flet#6915 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de flet-dev/flet
Issues similares
-
docs size:S
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
strawberry-graphql/strawberry#4794 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
dataforgoodfr/cetolog#21 ·
-
security_citations_test fails against ecc 2026.11.6: SECURITY.md quotes ecc v2026.11.2's linesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
btclib-org/btclib#2932 ·
Los mantenedores suelen responder en 1 día