Android: R.java: Error Expected


Answer :

It sounds like you have accidentally defined a menu item in your XML with an id of =action_setting.

For example:

<menu>     <item          android:id="@+id/=action_settings" /> </menu> 

Remove the = from your menu XML and you should be good to go.


I had the same problem, because I defined a string without name in my resources. like:

<string name="">some text</string> 

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable