Type Hierarchy stopped working in Android Studio
See original GitHub issueAs you can see in the Type Hierarchy (right side), I don’t see any dropdown button which can show ImageProvider
’s subclasses.
However, you can see (in the middle window) that there are many classes which extends ImageProvider
. I should be seeing them in the Type Hierarchy but I don’t.
It only works the first time I open Android Studio (or IntelliJ IDEA), and after that it just shows *
sign and doesn’t work as intended. This question has already been asked on Stack Overflow, here’s the link
Flutter Doctor:
[✓] Flutter (Channel dev, 2.9.0-0.1.pre, on macOS 12.0.1 21A559 darwin-arm, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
https://github.com/flutter/flutter/issues.
✗ FormatException: Unexpected extension byte (at offset 5)
[✓] VS Code (version 1.63.1)
[✓] Connected device (2 available)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:31 (15 by maintainers)
Top Results From Across the Web
intellij idea - Type Hierarchy stopped working in Android Studio
As you can see in the Type Hierarchy (right side), I don't see any dropdown button which can show ImageProvider 's subclasses.
Read more >Performance and view hierarchies - Android Developers
Android Studio's Lint tool can help you gain a sense of inefficiencies in the view hierarchy. To use this tool, select Analyze >...
Read more >Source code hierarchy | IntelliJ IDEA Documentation - JetBrains
Type hierarchies show parent and child classes of a class. ... a class, but is defined in the superclass, IntelliJ IDEA displays the...
Read more >Layout Inspector. Debugging UI issues can be tricky… - Medium
Android Studio 4.0 comes with an updated Layout Inspector that lets you debug ... The Layout Inspector only displays a UI hierarchy from...
Read more >Code Formatting changes the order of <include> components ...
P2, Android Studio 3.5.9 Canary XML Tag Re-Arrangement spoils the view ... Follow the video showing the problem with formatting the code.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m having the same problem. The plugin does not show the type hierarchy completely. For example, the hierarchy of the type
Widget
shows only a few of its children.UPDATE
After some tests, I found it gives the wrong hierarchy tree, for example, the hierarchy of the type
Layer
:TextureLayer
,PictureLayer
, andPlatformViewLayer
is not the child of theContainerLayer
, instead, it’sLayer
’s child.@stevemessick For the changes, I only edited some strings there (I don’t remember them now), but no Dart file or code was modified at all.
Thanks