Papillon
Papillon copied to clipboard
[Bug]: BUILD FAILED (Code: 1)
Description du bug
Quand je lance le script de dev sur android (npm run android), j'obtiens cette erreur que je n'arrive pas à résoudre. Pourriez-vous m'aider ?
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
> Could not find any matches for app.notifee:core:+ as no versions of app.notifee:core are available.
Searched in the following locations:
- file:/C:/Papillon/node_modules/react-native/android/app/notifee/core/maven-metadata.xml
- file:/C:/Papillon/node_modules/jsc-android/dist/app/notifee/core/maven-metadata.xml
- https://dl.google.com/dl/android/maven2/app/notifee/core/maven-metadata.xml
- https://repo.maven.apache.org/maven2/app/notifee/core/maven-metadata.xml
- https://www.jitpack.io/app/notifee/core/maven-metadata.xml
- https://oss.sonatype.org/content/repositories/snapshots/app/notifee/core/maven-metadata.xml
Required by:
project :app > project :notifee_react-native
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2m 39s
10 actionable tasks: 10 up-to-date
Error: C:\Papillon\android\gradlew.bat exited with non-zero code: 1
Error: C:\Papillon\android\gradlew.bat exited with non-zero code: 1
at ChildProcess.completionListener (C:\Papillon\node_modules\@expo\spawn-async\build\spawnAsync.js:52:23)
at Object.onceWrapper (node:events:629:26)
at ChildProcess.emit (node:events:514:28)
at cp.emit (C:\Papillon\node_modules\cross-spawn\lib\enoent.js:34:29)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)
...
at Object.spawnAsync [as default] (C:\Papillon\node_modules\@expo\spawn-async\build\spawnAsync.js:17:21)
at spawnGradleAsync (C:\Papillon\node_modules\@expo\cli\build\src\start\platforms\android\gradle.js:72:46)
at Object.assembleAsync (C:\Papillon\node_modules\@expo\cli\build\src\start\platforms\android\gradle.js:52:18)
at runAndroidAsync (C:\Papillon\node_modules\@expo\cli\build\src\run\android\runAndroidAsync.js:36:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Étapes à reproduire
- Ouvrir le dossier racine dans un termial (Windows Powershell pour moi)
- Installer les dépendances NPM avec la commande
npm install(=npm i) - Connecter un appareil Android avec le mode USB Teethering (options de développeur)
- Lancer le projet avec la commande
npm run android - Attendre l'erreur (elle se situe à la fin du build, à 100%, plutôt déprimant)
Comportement attendu
BUILD COMPLETE
Appareil
Samsung A52 5G / ThinkPad P15s
Version du système d`exploitation
Android 14 / Windows 11 Pro (23H2)
Version
6.6.6
Environnement
Prébuild de développement (iOS/Android)
Service scolaire
🦋 Pronote
Captures d'écran / vidéo
No response
Contexte supplémentaire
No response
🦋 Merci pour ta contribution sur Papillon
Merci pour l'intérêt que tu portes au projet Papillon !
Ta Pull Request respecte toutes les règles de contribution. Elle est donc prête pour une revue par les mainteneurs.
Nous espérons te revoir très bientôt avec une nouvelle proposition ! À très vite sur Papillon 🦋
Salut, ce problème a était résolu dans un build plus récent