strings.xml中的Android`templateMergeStrategy`

templateMergeStrategy属性在 Android资源中的含义是什么?

例如在Google Maps API密钥文件中

<string name="google_maps_key" templateMergeStrategy="preserve" translatable="false">
    AIza.......some...secret...key...
</string>

我本来期望一个简单的谷歌(或duckduckgo)搜索给我结果,但不幸的是它似乎只给了我谷歌地图API问题.

不幸的是,该部门也缺乏Android Developer Docs on “String Resources”.

change log

Uses this to overwrite the instructions in the Google Maps template.
Subsequent runs of the template always update the instructions with
the user’s current keystore credentials.

Also changed the Maps instructions to deep link into a Google developer console flow,which allows for easier key generation.

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念