Initial upload: immich-tv-viewer
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
# Immich TV Viewer - V2.6.1 Fix Kotlin Video Build
|
||||
|
||||
Projet cible :
|
||||
|
||||
D:\07-Logiciels\17-IMMICH-TV\immich_tv_viewer
|
||||
|
||||
## Base
|
||||
|
||||
Cette version part de la V2.6 Vidéos.
|
||||
|
||||
## Problème corrigé
|
||||
|
||||
Erreur :
|
||||
|
||||
```text
|
||||
Execution failed for task ':video_player_android:compileDebugKotlin'
|
||||
Could not close incremental caches
|
||||
this and base files have different roots:
|
||||
C:\Users\...\Pub\Cache\...
|
||||
D:\07-Logiciels\...\android
|
||||
```
|
||||
|
||||
C'est un problème Kotlin / Gradle sous Windows avec le cache incrémental du plugin `video_player_android`.
|
||||
|
||||
## Correction
|
||||
|
||||
Ajout / modification de :
|
||||
|
||||
```text
|
||||
android/gradle.properties
|
||||
```
|
||||
|
||||
avec :
|
||||
|
||||
```properties
|
||||
kotlin.incremental=false
|
||||
kotlin.compiler.execution.strategy=in-process
|
||||
```
|
||||
|
||||
Cela désactive le cache Kotlin incrémental et évite le daemon Kotlin pour ce projet.
|
||||
|
||||
## Commandes recommandées
|
||||
|
||||
Important : arrête les vieux daemons Gradle et nettoie les caches de build.
|
||||
|
||||
```powershell
|
||||
cd D:\07-Logiciels\17-IMMICH-TV\immich_tv_viewer
|
||||
|
||||
.\android\gradlew --stop
|
||||
|
||||
Remove-Item -Recurse -Force .\build -ErrorAction SilentlyContinue
|
||||
Remove-Item -Recurse -Force .\android\.gradle -ErrorAction SilentlyContinue
|
||||
Remove-Item -Recurse -Force .\.dart_tool -ErrorAction SilentlyContinue
|
||||
|
||||
flutter clean
|
||||
flutter pub get
|
||||
flutter run -d 192.168.1.8:5555
|
||||
```
|
||||
|
||||
## Nouvelle rubrique conservée
|
||||
|
||||
Menu :
|
||||
|
||||
- Photos
|
||||
- Vidéos
|
||||
- Explorer
|
||||
- Surprends-moi
|
||||
|
||||
## Note
|
||||
|
||||
La première compilation après cette correction peut être plus lente.
|
||||
C'est normal : on force Kotlin à arrêter ses petits tours de cache cassé.
|
||||
Reference in New Issue
Block a user