What I see when trying to add a new activity to a project:
Asked
Active
Viewed 94 times
1
-
1You can try to Sync Project with Gradle files. It helped to solve [similar problem](https://stackoverflow.com/a/55537030/9972209) – Victor Pozdnyakov Dec 17 '20 at 17:12
-
1Thanks, I think that's got me on the right track. There's something wrong with my Gradle sync. I had an out of date SDK. – NZ1999 Dec 17 '20 at 17:21
2 Answers
1
The root of my problem was an out of date SDK. This can be updated by searching for SDK Platform and following the instructions here:
Update that, select synch project with gradle files from the file menu, and you're good to go

NZ1999
- 21
- 5
0
Try to do invalidate Cache/ Restart. If this not work try out Sync Project With Gradle files

ahmad bajwa
- 966
- 2
- 10
- 30