Narendra_Nath
Narendra_Nath

Reputation: 5183

Cannot exctract any resources in my jetpack compose project R.string does not show

I'm trying to extract a string resource in my app but when I press R.string it shows cannot find string resource .

Upvotes: 2

Views: 1837

Answers (1)

Narendra_Nath
Narendra_Nath

Reputation: 5183

Make sure you're importing the correct R class . In your R.string make sure the R is from the name of the project For eg:

If your project name is tutorial project make sure when you press R it is of com.example.tutorialproject type.

Upvotes: 3

Related Questions