skip to Main Content

When ever there is an error in xml file the view for the reference in Android Studio gets invisible its very hard to work without having a view reference. I have invalided the cache and restart android studio several times still not working it is only happening after updating to Dolphin from chipmunk

2

Answers


  1. First of all, you need to update your Gradle version first from Project Structure

    enter image description here

    Then Restart your system and that’s it

    I hope help

    Login or Signup to reply.
  2. I had the same problem with android studio and tried all these ways

    1. closing the project and deleting the project.xml file in the
      .ideacodeStyles
    2. upgrade and downgrade the AGP version. AGP = Android Gradle Plugin
    3. Invalidate Caches and Restart
    4. deleted this folder %APPDATA%GoogleAndroidStudio*.
    5. inspection profiles folder under the project’s idea folder and upgrade the Gradle version.

    But all not working

    So I downgraded Android Version to Android Studio Chipmunk (2021.2.1) and It working now fine, you can download it from

    https://developer.android.com/studio/archive

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search