PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2025 → WM2026 Update 2 : impossible de compiler
WM2026 Update 2 : impossible de compiler
Started by Pascal BOULESTEIX, Mar., 18 2026 6:25 PM - 1 reply
Registered member
1,202 messages
Posted on March, 18 2026 - 6:25 PM
Bonjour
Ma première tentative de compilation après l'UPDATE 2 se solde par un échec.
J'ai supprimer le dossier C:\PC SOFT\WINDEV Suite 2026\Personal\Android pour forcer le rechargement du SDK, mais ça n'a rien changé.
Notez que les erreurs ne sont produites que pour les widget de l'application, qui ne modifient pas les couleurs dans mon code.
Une idée avant que j'ouvre un incident ?


Échec de la création de l'application Android <D:\WINDEVSUITE2026\WNAT_Mobile\Exe\Visiolittoral\Visiolittoral.aab>.


Ligne de commande : "C:\PC SOFT\WINDEV Suite 2026\Personal\Android\OpenJDK\bin\java.exe" -Duser.dir="D:\WINDEVSUITE2026\WNAT_Mobile\Android\gen" "-Dorg.gradle.appname=D:\WINDEVSUITE2026\WNAT_Mobile\Android\gen" -classpath "C:\PC SOFT\WINDEV Suite 2026\Personal\Android\Gradle\lib\gradle-launcher-8.9.jar" org.gradle.launcher.GradleMain bundleRelease -b "D:\WINDEVSUITE2026\WNAT_Mobile\Android\gen\build.gradle"


Erreur retournée :
:processReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
> Android resource linking failed
ERROR: D:\WINDEVSUITE2026\WNAT_Mobile\Android\gen\res\layout\layoutgwdffen_widget_journal_321.xml:2: AAPT: error: '16777215' is incompatible with attribute background (attr) reference|color.

ERROR: D:\WINDEVSUITE2026\WNAT_Mobile\Android\gen\res\layout\layoutgwdffen_widget_journal_321.xml:2: AAPT: error: '16744448' is incompatible with attribute background (attr) reference|color.

ERROR: D:\WINDEVSUITE2026\WNAT_Mobile\Android\gen\res\layout\layoutgwdffen_widget_ouessant_324.xml:2: AAPT: error: '16777215' is incompatible with attribute background (attr) reference|color.

ERROR: D:\WINDEVSUITE2026\WNAT_Mobile\Android\gen\res\layout\layoutgwdffen_widget_tableau_327.xml:2: AAPT: error: '16777215' is incompatible with attribute background (attr) reference|color.

ERROR: D:\WINDEVSUITE2026\WNAT_Mobile\Android\gen\res\layout\layoutgwdffen_widget_vertical_330.xml:2: AAPT: error: '16777215' is incompatible with attribute background (attr) reference|color.


* 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.

For more on this, please refer to https://docs.gradle.org/8.9/userguide/command_line_interface.html… in the Gradle documentation.

BUILD FAILED in 42s
35 actionable tasks: 13 executed, 22 up-to-date

--
Pascal Boulesteix
Applications Visiolittoral et WNat
Message modified, March, 18 2026 - 6:27 PM
Registered member
933 messages
Posted on March, 18 2026 - 8:58 PM
Bonjour. Je te conseille également de supprimer le dossier Android du projet. Il se peut que des versions différentes des bibliothèques se mélangent.

Rubén

--
https://depot.pcsoft.fr/search.awp…

https://www.linkedin.com/in/rub%C3%A9n-s%C3%A1nchez-pe%C3%B1a-7a868212/
https://play.google.com/store/apps/details…