Kaigo
Kaigo

Reputation: 1599

Android studio @strings not working

In my android project none of my @string variables are not working.

For example in the title bar I see @string/app_name instead of myapp.

In my AndroidManifest.xml it looks normal, with the line android:label="@string/app_name"

Also, in my layout buttons and textviews show @string/action_sign_in but they also have the line in there xml layout. android:text="@string/action_sign_in"

Anyone had this issue before?

Upvotes: 0

Views: 2879

Answers (1)

Marks
Marks

Reputation: 53

Clean, rebuild verify if its working.

If not, you can alt+enter on the @string/action_sign_in redline and click on create string value resource then set the value to the string.

Upvotes: 1

Related Questions