QuitSmoking icon indicating copy to clipboard operation
QuitSmoking copied to clipboard

Missing strings in strings.xmls

Open mesnevi opened this issue 5 years ago • 7 comments

Since all the strings are added manually and then are translated from time to time and added to different locales manually, too, their content differs. This results in errors:

> Task :processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     /home/mesnevi/qsmoke/src/main/res/layout/fragment_health.xml:434: AAPT: error: resource string/health_header10 (aka de.baumann.quitsmoking:string/health_header10) not found.
         
     /home/mesnevi/qsmoke/src/main/res/layout/fragment_health.xml:575: AAPT: error: resource string/health_header13 (aka de.baumann.quitsmoking:string/health_header13) not found.

This caused by missing string in src/main/res/values/strings.xml: <string name="health_header10">Heart attack</string>

mesnevi avatar Jul 06 '20 19:07 mesnevi