Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing attributes in layout editor in Android Studio

I've got a problem with Android Studio version 3.2.1. I do not see in layout editor most of attributes like for example id. I have got this bug probably after Android Studio's update. enter image description here

like image 924
Przemek Broda Avatar asked Nov 03 '18 20:11

Przemek Broda


2 Answers

This worked for me.

  • Exit android studio then make the below changes.

  • Go to C:\Users\UserName.android and rename the build-cache folder to build-cache.bak

  • Go to C:\Users\UserName.AndroidStudio3.2\system and rename these folders

    caches to caches.bak

    compiler to compiler.bak

    compile-server to compile-server.bak

    conversion to conversion.bak

    external_build_system to external_build_system.bak

    frameworks to frameworks.bak

    gradle to gradle.bak

    resource_folder_cache to resource_folder_cache.bak

  • Open the Android Studio and open your project again.

No IDEA annotations attached to the JDK 1.8 (C:\...), some issues will not be found

like image 83
Raynold Avatar answered Oct 16 '22 19:10

Raynold


Down of the activity_main.xml window there is "Design" tab and "Text" tab. Click on design tab, select an item and voila: attributes window is on the right

like image 39
A.Zamorta Avatar answered Oct 16 '22 20:10

A.Zamorta