11

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

4

14 Answers 14

15

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

4
  • 2
    Is there a way to bring properties view back? Restarting whole IDE just to do that is a bit harsh.
    – positron
    Jan 25, 2018 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, 2018 at 16:39
  • 2
    I've created an issue-report for Android Studio in case anyone wants to follow up: issuetracker.google.com/issues/112567920
    – afarley
    Aug 14, 2018 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, 2019 at 22:37
6

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.

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

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 :)

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

1
  • If not working directly, you may need to click on some views May 13, 2021 at 16:26
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.

0

Close android studio

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

delete everything inside the project cashes folder

0
0

I had the same problem when I installed android studio in my new PC and I found the solution. My NDK was not completely installed or maybe it was corrupted so most of attributes were missing. I reinstalled my NDK and the problem was fixed.

0

(compileSdk and targetSdk in gradle) You may have increased the values. Specify a lower version. And File > Invalidate Caches > invalidate and restart

0

After I did all the suggestions. I fixed this by clicking "Help" -> "Check for updates" and just update.

Hope this helps :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.