最佳答案
Building a multi-language application in Java. Getting an error when inserting String value from R.string
resource XML file:
public static final String TTT = (String) getText(R.string.TTT);
This is the error message:
Error: Cannot make a static reference to the non-static method getText(int) from the type Context
How is this caused and how can I solve it?