恰好有 100 个错误R.java
都说相同的错误。错误如下:
标记“10”的语法错误,删除此标记
到处都有危险信号说不要修改R.java
,即使我尝试修改,它也会提示我停止。然后,当我仍然更改某些内容时,它会恢复为错误代码。导致错误的行如下。
public static final int 10ca16=0x7f05084a;
public static final int 10ca17=0x7f05084b;
public static final int 10ca18=0x7f05084c;
public static final int 10ca19=0x7f05084d;
public static final int 10ca2=0x7f05083c;
public static final int 10ca20=0x7f05084e;
public static final int 10ca21=0x7f05084f;
public static final int 10ca22=0x7f050850;
public static final int 10ca23=0x7f050851;
public static final int 10ca24=0x7f050852;
public static final int 10ca25=0x7f050853;
public static final int 10ca26=0x7f050854;
public static final int 10ca27=0x7f050855;
public static final int 10ca28=0x7f050856;
public static final int 10ca29=0x7f050857;
public static final int 10ca3=0x7f05083d;
public static final int 10ca30=0x7f050858;
strings.xml
因为我正在尝试本地化和支持西班牙语,所以我刚开始输入 100 和 100 的字符串。我敢肯定这可能与此有关。
我的问题是到底出了什么问题?我和文件夹中的两个strings.xml
文件没有标记任何错误。values
values-es