0

Previously, when a class was not imported, Android suggested I import them AND used to give resources a special format as in "R.id.aLayout". It has suddenly stopped and I am completely stuck, importing all these classes manually will be a real pain.

Vincent Hokie
  • 61
  • 2
  • 8

2 Answers2

0

Open File > Invalidate Caches/Restart & click on Invalidate and Restart

Note: Save your project before doing this.

Cheers :)

Husnain Aslam
  • 865
  • 1
  • 11
  • 28
0

Please check if Power Save Mode is on or off in Android Studio .

If it is on turn it off.

JAAD
  • 12,349
  • 7
  • 36
  • 57