The AVD SDK path in Android studio

Source: Internet
Author: User

The AVD SDK path in Android Studio _ Baidu Experience

What to do if the AVD SDK path is not found in Android studio? What if a lot of people need to download Gradle and the AVD SDK to re-download after installing Android Studio? Below is a small series of green tea for everyone to bring solutions.

?

First, set the environment variable, the Android_sdk_home value is the directory where the SDK resides, the Gradle_home value is the GRADLE directory, and the path is added%android_sdk_home%\bin;%gradle_home%\bin;% Android_sdk_home%\platform-tools;

Open Android Studio, start the window, close all items (not the fork in the top right corner, but close project in file), click Configure→project defaults→project structure, Then add the appropriate SDK version.

Now, let's run a new project.

PS: You can also directly copy the previously downloaded AVD SDK to the Android STUDIO/SDK directory.

There was no way to find the SDK and AVD management solution in Eclipse

If Android ADT is installed correctly, there is no mistake in the path selection and environment variables of the Android SDK.

Can be done by "window"?" Customize perspective"?" Tool Bar visibility"tab Screen selection

Android SDK and AVD Manager to display

Eclipse does not have code hint workaround

Today, the development process found that Eclipse code hints function is not so, alt+/so also do not give hints, hit the object. Also can not point out the method.

Baidu to solve the problem

Here's how to fix it:

1, menu window->preferences->java->editor->content assist->enable Auto activation option to tick

2, Windows-->preference-->workbench-->keys Set the content Assist shortcut keys

3, Window->preferences->java->editor->content assist->advanced above tab select the proposal kinds Contained in the ' Default ' content Assist list: Check the other Java proposals options

4, eclipse itself provides some very convenient code completion template, such as input sysout after pressing alt+/eclipse will automatically help you generate System.out.println (), the view location of these templates in window-> In preferences->java->editor->templates, some common code templates are listed. If you cannot complete the code completion function in use, you can set the eclipse in Window->preferences->java->editor->content assist->advanced The Template proposals is selected.

The AVD SDK path in Android studio

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.