Reputation: 602
This is the error, which is generating again and again. I've cleaned my project.
public static final class id {
public static final int =0x7f07005b;
public static final int button1=0x7f070004;
public static final int button2=0x7f070005;
public static final int frameLayout1hardMatchup=0x7f070009;
There is no error in String.xml, here is my String.xml.
<string name="hello">Hello World, MemoryCardsActivity!</string>
<string name="app_name">Princess Memory Cards</string>
<string name="text_name">Congrates</string>
<string name="text_help">Turn over pairs of matching cards, tap to flip two cards, as the match happens, they get removed from the screen.Try to get all cards match in minimum moves and proceed to next level</string>
And also there is not any @+id kind of error. What else could be the reason of this. Any positive response would be really appreciated.. :(
Upvotes: 0
Views: 2314
Reputation: 2881
I produced a similar error by changing one of my layout XML files. I changed
android:id="@+id/image_frame"
to
android:id="@+id/ "
The error I see with this change is
public static final int =0x7f080010;
// Syntax error on token "int", VariableDeclaratorId expected after this token
This seems to be what @codeMagic was describing.
Upvotes: 1
Reputation: 44571
You are missing a variable name
public static final int = 0x7f07005b;
instead
public static final int variableName = 0x7f07005b;
Upvotes: 2