3
からのリソースを得ることができません。私はstrings.xmlの中にある文字列を取得できません。 これは私のコードです:何故か何かの理由で
public class SDK_Referrer extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
String srt = context.getResources().getString(R.string.master);
そのが「マスター」の文字列を認識しません。 R.string.copy、R.string.cancel、またはR.string.okなどのものがあり、私が持っている文字列ではありません。 xmlファイル なぜですか?
strings.xmlを投稿できますか? –