35 lines
779 B
Markdown
35 lines
779 B
Markdown
# FIN65 - Réparation AndroidManifest.xml
|
|
|
|
Ce patch répare `AndroidManifest.xml` après l'erreur :
|
|
|
|
```text
|
|
Error parsing LocalFile: android/app/src/main/AndroidManifest.xml
|
|
Please ensure that the android manifest is a valid XML document
|
|
```
|
|
|
|
## Utilisation
|
|
|
|
Décompresse ce ZIP puis lance :
|
|
|
|
```powershell
|
|
.\repair_fin65_android_manifest.bat
|
|
```
|
|
|
|
Le script :
|
|
1. sauvegarde l'ancien Manifest cassé ;
|
|
2. réécrit un Manifest Flutter propre ;
|
|
3. garde :
|
|
- `android:label="FIN65"`
|
|
- `android:icon="@mipmap/ic_launcher"`
|
|
- `android:roundIcon="@mipmap/ic_launcher_round"`
|
|
- `android:usesCleartextTraffic="true"`
|
|
- permission Internet ;
|
|
4. lance `flutter clean` et `flutter pub get`.
|
|
|
|
Ensuite :
|
|
|
|
```powershell
|
|
cd D:\07-Logiciels\20-FIN65\fin65_mobile
|
|
flutter run
|
|
```
|