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.
Modify the Android Studio SDK Path