【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

你可能感兴趣的:(framework)