【Android】Lenovo K860 framework-res.apk回编译失败解决办法

现象:

79: error: Found tag </item> where </plurals> is expected
79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?

  

To fix plurals.xml error

Edit framework-res.apk/res/values/plurals.xml
framework-res.apk/res/values-zh-rCN/plurals.xml
framework-res.apk/res/values-*/plurals.xml e.g. all plurals.xml files (painful!!)

<plurals name="matches_found">
        <item quantity="other">%1$d of %2$d</item>
   <item quantity="one">1 match</item> 
</plurals>

 

Post: http://forum.xda-developers.com/showthread.php?t=1364757&page=47

posted @ 2012-11-20 02:13  scue  阅读(610)  评论(0编辑  收藏  举报