Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

strings.xml: Error: Found item String/button more than one time

Tags:

android

strings.xml: Error: Found item String/button more than one time

how to rid off this problem??help

enter image description here

like image 763
zircon Avatar asked Jul 05 '18 06:07

zircon


Video Answer


1 Answers

You cannot have multiple strings with same name ("button") in your case. Give unique name to each of them as follows

<resources>
    <string name="app_name">CourtCounter</string>
    <string name="button1">Button1</string>
    <string name="button2">Button2</string>
    <string name="button3">Button3</string>
</resources>  
like image 107
Sagar Avatar answered Oct 10 '22 08:10

Sagar