正确的解法:
String mess = getResources().getString(R.string.mess_1);
另外一种:
you can simplify that to 
this.getString(R.string.some_id) 
if you're already in a Context (Activity or Service

相关文章:

  • 2022-12-23
  • 2021-08-02
  • 2021-11-06
  • 2022-12-23
  • 2022-02-19
  • 2021-12-09
猜你喜欢
  • 2022-12-23
  • 2022-01-23
  • 2021-07-15
  • 2022-12-23
  • 2022-03-10
  • 2021-11-25
  • 2021-08-27
相关资源
相似解决方案