mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 09:13:23 +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)
9 lines
384 B
XML
9 lines
384 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<string name="browser_address_hint">Search or enter address</string>
|
|
<string name="browser_console_title_short">Console</string>
|
|
<string name="browser_console_title">Console (%1$d)</string>
|
|
<string name="browser_console_clear">Clear</string>
|
|
<string name="napplet_untitled">Untitled nApplet</string>
|
|
</resources>
|