简体   繁体   中英

Android Studio 4.0 Documentation Pop-Up Is Not Working Properly

While I'm reviewing codes online of old versions of Android Studio, I see more attributes of a function than I see in my own version.

Old Version pop-up like this:

When I try to see attributes of an object:

My Android Studio 4.0 pop-up like this:

I checked a lot of answers but no one talks about version 4.0

In most of answers people talk about downloading "Documentation for Android Studio" from Android SDK. There is nothing about this on Version 4.0. I cannot download "Documentation for Android Studio"

Android Studio 4.0 Settings of Android SDK

Here is an old version of Android Studio and you can see the section.

An old version of Android Studio Settings of Android SDK

  • I already tried to change documentation location from jdk.table.xml
  • I already tried Android Studio -> Preference -> Editor -> General -> Code Completion -> Show the documentation popup

I want to learn how I can reach more attributes of a function in Android Studio 4.0 and use the functions properly.

You need to go and download the sources for the API you want. I wasn't sure but I just deleted the sources and now it shows like yours. Download them and you'll be fine. Got the idea from https://stackoverflow.com/a/62925522/8228163 .

That offline documentation they must be talking about the "See on C" or something like that. Interesting to know it's now only online, so thanks haha.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM