有沒有其他方法來檢查Android中重複的字符串資源?strings.xml中的重複字符串資源android
說我有這兩個字符串:
<!-- some other strings -->
<string name="A">I'm A</string>
<string name="A">I'm A</string>
<!-- some other strings -->
在我的Eclipse,這不會導致任何錯誤或警告,即使我嘗試使用皮棉它不會顯示出來。那我怎麼能看到這樣的問題呢?
什麼是你想實現重複定義設置警告/錯誤? –
好吧,我想要一種方法來檢查重複的字符串資源,以消除它們。我的一位同事嘗試使用Android Studio構建我的項目,但由於此問題無法完成此項目。 – kishidp
你會得到這裏已經定義的錯誤資源條目 – Raghunandan