Skip to content Skip to sidebar Skip to footer

Android Studio Layout Editor Does Not Show Any Suggestions

I created new XML file temp.xml, when I tried to add text view in it, no suggestions are shown to me. When I clicked on TextView, TextView gets added with no body. Then I copy past

Solution 1:

There are three suitable answers for this question .

  1. File -> Invalidate Caches / Restart... -> Select Invalidate and Restart

  2. Just navigate to your android studio installation directory, i.e

    yourDrive:/.AndroidStudio3.3/system
    

    and DELETE THE CACHE FOLDER ( first close android studio, if its running ).

    Then start Android Studio again. Done.

    P.S I am using android studio 3.3.

  3. Open the Settings or Preferences dialog: On Windows or Linux, select File > Settings from the menu bar. Navigate to Build, Execution, Deployment > Instant Run. Unchecked the box next to Restart activity on code changes.

Solution 2:

Follow the below steps (this will help you):

1) First of all, Invalidate cache and restart android studio.

2) Then delete .idea folder and all .iml files from the project.

3) Now restart studio again with invalidate cache.

4) Open your project and build.

That's it.

Post a Comment for "Android Studio Layout Editor Does Not Show Any Suggestions"