Provide app_name_debug for the androidTest APK

The debug buildType applies `resValue("string", "app_name", "@string/app_name_debug")`
to the androidTest APK as well as the main APK, but the test APK does
not include the main app's res/, so the reference failed to link the
first time the test APK was actually built. Supply the referenced
strings in an androidTest-only resource file. The values never surface
to users; they only satisfy the test APK's resource linker.

https://claude.ai/code/session_01Q9jujfLrDCChwyJwb1Gpii
This commit is contained in:
Claude
2026-05-22 09:30:41 +00:00
parent 1a48b2817e
commit 427dc3bf43
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--
The debug buildType emits `resValue("string", "app_name", "@string/app_name_debug")`
into the androidTest APK as well as the main APK. The test APK does not include
the main app's res/, so the reference fails to link unless we supply the target
strings here. These values never surface to users — they only exist to satisfy
the test APK's resource linker.
-->
<string name="app_name_debug" translatable="false">Amber Debug</string>
<string name="app_name_release" translatable="false">Amber</string>
</resources>