Android Studio is an IntelliJ IDEA based IDE and declared by Google as the official IDE for Android application development.
In this beginning Android development tutorial, you’ll create a simple fortune-telling app and learn to use Android Studio’s key features
by:
While the Android Studio download completes, verify which version of the JDK you have: open a command line and type
In this beginning Android development tutorial, you’ll create a simple fortune-telling app and learn to use Android Studio’s key features
by:
- Navigating through different files in your project using the project explorer
- Setting up the AndroidManifest.xml file
- Learning about the Gradle build system
- Importing files into your project
- Learning about the rich layout editor with dynamic layout previews
- Using Logcat and DDMS (Dalvik Debug Monitor Server) to debug your app
While the Android Studio download completes, verify which version of the JDK you have: open a command line and type
javac -version
. If the JDK is not available or the version is lower than 1.8, download the Java SE Development Kit 8.To install Android Studio on Windows, proceed as follows:
- Launch the
.exe
file you downloaded. - Follow the setup wizard to install Android Studio and any necessary SDK tools. On some Windows systems, the launcher script does not find where the JDK is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.
Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variableJAVA_HOME
that points to your JDK folder, for exampleC:\Program Files\Java\jdk1.8.0_77
.(Make sure you have administrator privileges)