It is impossible to get a class even in a new project, a complete reinstallation did not help. enter image description here

enter image description here

enter image description here

  • Something you have broken, you see. Try reinstalling the studio - YuriySPb
  • show MainActivity - Vladyslav Matviienko
  • The studio has been reinstalled 2 times. Through .MainActivity does not work. Made an edit on MainActivity. - Romag
  • You have the same screenshots. - Sergey Gornostaev

1 answer 1

Just android:name=".MainActivity" without a package name, but always with a dot at the beginning.

  • It doesn't work that way. - Romag
  • What does "not work" mean? What error gives? - Sergey Gornostaev
  • class or interface expesed - Romag
  • Tried to run Tools → Android → Sync Project with Gradle Files , Build → Clean Project and File → Invalidate Caches ? - Sergey Gornostaev
  • Did not help. Already I do not know what to do. - Romag