5

Things i have done to resolve this issue:

  • Clean Build & Rebuild

  • Deleted .idea file

  • Invalidated Caches/ Restart.. option

  • Turn On Power Save Mode.

  • SDk is up to date.

  • Sync Project with Gradle Files done.

  • Reinstall Android Studio done

  • recreate new project done

  • changed something in app Gradle file and synced the project again

  • android studio old version change also not help

  • Intellij shows to reset to default namespace, it will delete android namespace.. (In Project, Layout file corrections not reflecting into app)

Android Studio Version

X

Error Image

X

gradle image

X

Intelij Solution

X

James Z
  • 12,209
  • 10
  • 24
  • 44

4 Answers4

20

This worked for me

Close Android studio Delete all files from

  • C:\Users\.AndroidStudio3.2\system\caches
  • C:\Users\.AndroidStudio3.2\config //not importent

start android studio

M.J.M
  • 303
  • 1
  • 8
3

Ran into the same issue. Seems to be something specifically related to Android Studio 3.2. My solution on Windows was to delete everything withing the cache/ folder in the .AndroidStudio3.2/ folder.

4gus71n
  • 3,717
  • 3
  • 39
  • 66
1

This problem happen for Android studio Cache & History.

Firstly In android studio go File -> Close Project and Exit Android Studio.

Then Delete below 2 Folders:

  • C:\Users\user-name.AndroidStudio3.X\system\caches
  • C:\Users\user-name.AndroidStudio3.X\config\terminal\history (optional)

Open the Android Studio and Enjoy!

Sheikh Hasib
  • 7,423
  • 2
  • 25
  • 37
0

Complete uninstall Android Studio (including system and cache files) and Reinstalling clears my bug...