Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Android で重複した文字列リソースを確認する他の方法はありますか?
次の 2 つの文字列があるとします。
<!-- some other strings --> <string name="A">I'm A</string> <string name="A">I'm A</string> <!-- some other strings -->
私のEclipseでは、lintを使用しようとしてもエラーや警告は発生しません。では、どうすればそのような問題を見ることができますか?
日食で:
これにより、リソース ファイルの 1 つに重複したリソースがあるたびに警告が表示されます。
お役に立てれば :)
Project Properties のAndroid Lint 設定セクションで、リソースの重複定義に警告/エラーを設定できます