10

I am experiencing a strange problem with Android Studio 2.2.3. No matter which widget is selected in Design View, the Properties View doesn't show the properties - it simply appears as shown below. If I click "View all properties" it goes completely empty.

How can I show the properties?

Properties view

Zoe stands with Ukraine
  • 25,310
  • 18
  • 114
  • 149
Mark Brodie
  • 259
  • 1
  • 2
  • 8
  • I have the same problem on this version. Sometimes, i need to restart Android Studio, then properties appears. – Lucas Moretto Jan 17 '17 at 14:04
  • I was in this situation but the top answer on this post helped: https://stackoverflow.com/questions/53135329/missing-attributes-in-layout-editor-in-android-studio/53173764#53173764 – Ibrahim Mar 07 '19 at 10:55
  • 1
    For me this happens, when I try to search for something in Attributes. After I when I type a letter and delete it, the Attributes are shown again. – Ámon Tamás Mar 28 '19 at 10:17
  • Does this answer your question? [Missing attributes in layout editor in Android Studio](https://stackoverflow.com/questions/53135329/missing-attributes-in-layout-editor-in-android-studio) – jnovack Sep 29 '20 at 12:04

11 Answers11

14

Restarting doesn't help. But after searching other Android Studio problems I found something that does work: File -> Invalidate Caches and Restart.

Adriaan
  • 17,081
  • 7
  • 36
  • 71
Mark Brodie
  • 259
  • 1
  • 2
  • 8
  • 1
    Is there a way to bring properties view back? Restarting whole IDE just to do that is a bit harsh. – positron Jan 25 '18 at 15:59
  • I have this issue, but 'Invalidate Caches and Restart' doesn't make any difference. I *have* noticed that the properties are displayed correctly for my top-level XML component (ScrolLView) but are not displayed for child components. – afarley Aug 14 '18 at 16:39
  • 1
    I've created an issue-report for Android Studio in case anyone wants to follow up: https://issuetracker.google.com/issues/112567920 – afarley Aug 14 '18 at 19:24
  • Restarting IDE works for me, but agree with @AlexKravets there should be something lighter to restart / refresh only particular views – Kostanos Mar 18 '19 at 22:37
5

I have seen the same issue, Here is the fix: GOTO File > Invalidate Caches > Restart. After restart note that it takes a little more time to start but this will surely fix your issue.

Harshit Pant
  • 937
  • 10
  • 14
2

One way I find to solve the problem, go to the little setting button on top right corner of "Attributes"->> "Attached side"->> "none", and everything shows. Try it!!

1

I have tried all the suggestions posted here and none of them worked. Even just reinstalling Android Studio didn't work.

You could try this:

  1. uninstall Android Studio
  2. delete the C:/Users/xxx/.gradle and C:/Users/xxx/.AndroidStudiox.x folders which the installer left out
  3. reinstall Android Studio.

It works and everything's back to normal now.

1

Window -> Restore Default Layout

Kirkas
  • 11
  • 2
0

So after some trail and error,

I have found the solution of this problem, just update gradle version 3.0.1 and used sdk version 26, this worked for me :)

IT Worker
  • 13
  • 1
  • 5
0

Try this:

gradle-wrapper.properties:

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

build.gradle:

dependencies {
        classpath 'com.android.tools.build:gradle:3.1.3'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
0

File->> Sync Project With Gradle Files Worked for me

0

Just go to Tool menu and here you see xml Action menu and just click Genrate Schema from xml file so it can solve your problem

0

To solve this problem, I did not need to reinstall Android Studio. Invalidating cache/restarting did not work. So I ended up deleting C:\Users\{your user here}\.AndroidStudio{version}. I had two AndroidStudio folders with different versions and deleted both of them. After starting Android studio all settings will be restored to default and you will have to select theme and etc. You do not need to delete gradle folder.

Tiw
  • 5,078
  • 13
  • 24
  • 33
Lukenzo
  • 957
  • 6
  • 15
0

Close android studio

C:\Users\user name.AndroidStudio4.0\system\caches

delete everything inside the project cashes folder