Layout for new activity is created but not combining with the new activity, anyone knows about this?? Below is image of the error
Asked
Active
Viewed 20 times
-1
-
try File->Invalidate caches and restart – niceumang Mar 01 '20 at 12:18
-
show me your import in CategoriesActivity – suntzu Mar 01 '20 at 13:02
-
Does this answer your question? [R cannot be resolved - Android error](https://stackoverflow.com/questions/885009/r-cannot-be-resolved-android-error) – cutiko Mar 02 '20 at 10:36
1 Answers
0
I would do the following steps by first doing 1, if not 2 otherwise 3:
- Clean project
- File -> Invalidate caches and restart
- See the layout, it will have some errors in it.

Waqar UlHaq
- 6,144
- 2
- 34
- 42