Script Ninja14,976 Points
[SOLVED]When i try to find to type key_name it says it dont exists.
Hi, When we try assign the key_name i get an error which says it dont exists but i declare this variable in the string.xml file.. : String key = resources.getString(R.string.key_name)
this is the picture of the mainActivity: https://gyazo.com/e85680e54014899b1aa77ec4cac18ee8
strings.xml file: https://gyazo.com/cb87c84dadda3f4a2c4788f549239620
I dont understand why i cant get a refernce of it, when i type R.string if i type dot i get the refernce of app_name...
SOLVED: I just need to restart android stuido and it worked, its strange.