mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 16:14:40 +00:00
AGP 9.2.1 treats resources defined in both an app module and a library module with the same key (qualifiers="") as an error in non-debug builds. `browser_address_hint`, `browser_console_title_short`, `browser_console_title`, `browser_console_clear`, and `napplet_untitled` were defined in both `:amethyst/values/strings.xml` and `:nappletHost/values/strings.xml`. Both `:amethyst` and `:nappletHost` depend on `:commons`, so the canonical home for these shared strings is `commons/src/androidMain/res/values/strings.xml`. Update callers in both modules to use `com.vitorpamplona.amethyst.commons.R as CommonsR`. Locale translations in amethyst's `values-*/` directories remain as Android resource overlays (app module overrides library module at merge time). Fixes: Found item String/browser_console_clear more than one time (packageFdroidBenchmarkResources)