I have a service and I run a thread inside it. When I try to reference the strings.xml I receive "can't resolve symbol R", I am able to reference the same resources from another class in the application.
Please let me know how can I reference resources "strings.xml" correctly
code
SystemClock.sleep(getApplicationContext().getResources().getString(R.string.int_short_max_wait_time));