Android's strings with product tag cann't compile.


In Android project, my code in strings.xml is like this: 


But it always report errors like this, when I compile it.
Who can tell me why it like this, and how can I to fix it?

Of cause, I can't delete the product tag or delete one of two strings. My app needs to adept the phone and tablet automatically.

Thanks very much!

Comment actions Permalink

It's Android limitation, string name must be unique, see

Not related to IntelliJ IDEA.

Comment actions Permalink

Thanks for your reply!

Android SystemUI has many strings.xml like this.  It's too bad.

Maybe it means they don't want me to use intellij or Android-studio.


Please sign in to leave a comment.