Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Gradle errors after update to 3.2

I did an update for Android Studio this morning , now it's on Android Studio 3.2

Build #AI-181.5540.7.32.5014246, built on September 17, 2018
JRE: 1.8.0_152-release-1136-b06 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0.

before the update the project was working fine now i got errors building it :

Execution failed for task ':app:processDebugResources'.
Android resource linking failed
warn: removing resource (myAppId)/content_main_photos without required default value.
app\src\main\res\layout\activity_main.xml:23: error: resource string/fgmt_titre_drawer (aka (myAppId):string/fgmt_titre_drawer) not found.
...
...
...

i have tired to clean and rebuild , restart and invalidate cache but nothing is working.

what is the problem ?

like image 655
Anass Boukalane Avatar asked Mar 26 '26 11:03

Anass Boukalane


1 Answers

This is related to string resource translations; just fixed a similar error yesterday ...where values/strings.xml were lacking a string resource, which values-de/strings.xml contained. that "default value" is being defined in values/strings.xml (which is the "default translation").

you'd have to search all translations for fgmt_titre_drawer and add it, where it is missing.

like image 101
Martin Zeitler Avatar answered Mar 29 '26 00:03

Martin Zeitler