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起
原文链接:https://www.f2er.com/xml/292604.htmlUses 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.