Installation and smart prompt settings for Android Studio Help documentation

Source: Internet
Author: User

The first time you use Android Studio, you find that its smart tips don't display a detailed purpose-based description of the system method, like visual Studio. After finding the information, the problem is because the SDK Document is not installed.

The solution is as follows:

1. Open the following menu (Figure I):

(Figure I)

2. Select the documentation for Android SDK in two to automatically download the document when you are sure

3, after the download, may still not pop-up method details at this time to open jdk.table.xml, file path/$USER _home$\. Androidstudio2.3\config\options\jdk.table.xml., locate the following node and modify the value to the document directory.

<JDK version= "2" >
<name value= "Android API Platform"/>
<type value= "Android SDK"/>
<roots>
<annotationsPath>
<root type= "Composite" >
<root type= "Simple" url= "jar://$APPLICATION _home_dir$/plugins/android/lib/androidannotations.jar!/"/>
</root>
</annotationsPath>
<classPath>
<root type= "Composite" >
<root type= "Simple" url= "jar://$USER _home$/appdata/local/android/sdk/platforms/android-26/android.jar!/"/>
<root type= "Simple" url= "file://$USER _home$/appdata/local/android/sdk/platforms/android-26/data/res"/>
</root>
</classPath>
<javadocPath>
<root type= "Composite" >
<!--<root type= "simple" url= "http://developer.android.com/reference/"/>-
<root type= "simple" url= "D:\Users\XXXX\AppData\Local\Android\sdk\docs\reference"/>
</root>
</javadocPath>
<sourcePath>
<root type= "Composite"/>
</sourcePath>
</roots>
<additional jdk= "1.8" sdk= "android-26"/>
</jdk>

4, Android Studio when the mouse rests on the method, the prompt for this method is automatically displayed, but the feature is turned off by default and needs to be opened in the following location.

A, menu location:

B. Tick show quick documentation on mouse move delay (ms): 500

Installation and smart prompt settings for Android Studio Help documentation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.