アンドロイドSDKバージョンアップによるエラー?

AndroidのSDKをバージョンアップ(GingerBread)したところ、
既存のソースでこんなエラーが発生するようになってしまった。

arrays.xml:209: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
該当箇所はこんな感じ
<item>http://ja.m.wikipedia.org/wiki/%E3%83%89%E3%83%A9_%28%E9%BA%BB%E9%9B%80%29</item>


多言語化対応に関係するのかしら?
%書式の置き換え使うときは位置も含めて使えやみたいな感じ?

持ってる変数はURLエンコードした文字列なんで、そういう事じゃないんだけど。。。


ドキュメントによると

Store your styled text resource as an HTML-escaped string:

  <string name="welcome_messages">Hello, %1$s! You have &lt;b>%2$d new messages&lt;/b>.
In this formatted string, a &lt;b> element is added. Notice that the opening bracket is
HTML-escaped, using the &lt; notation.

みたいなこと書いてあるし、マジ勘弁。

formatted="false"で回避できるのかしら?
どこに指定すればいいのでしょうかね

コメント

このブログの人気の投稿

CrossOver MAC のアンインストール

BloggerのDynamicViewテンプレートを適用