系统是在安卓4.2.2上
在frameworks/base/core/res/res/values/strings.xml中添加新字符串:
<string name="new_strings">New String</string>
在frameworks/base/core/res/res/values/public.xml中添加新的资源
<public type="string" name="new_strings" id="0x01040000" /> <!--id不能和文件中其他重复-->
执行make update-api .