Android Studio is the Android development IDE that is officially supported and recommended by Google. Android Studio comes bundled with the Android SDK Manager, which is a tool to download the Android SDK
components required to start developing apps.
Installing Android Studio and Android SDK
tools:
If you need to work on old projects that were built using older SDK versions, you may need to download these versions as well
Since Android Studio 2.2, a copy of the latest OpenJDK comes bundled with the install and is the recommended JDK (Java Development Kit) for all Android Studio projects. This removes the requirement of having Oracle's JDK package installed. To use the bundled SDK, proceed as follows;
Android Studio provides access to two configuration files through the Help menu:
You can change it as your preference.File->Settings->Editor->Colors & Fonts->
and select a theme.Also you can download new themes from http://color-themes.com/
Once you have downloaded the .jar.zip
file, go to File -> Import Settings...
and choose the file downloaded.
Create a new project or open an existing project in Android Studio and press the green Play button on the top toolbar to run it. If it is gray you need to wait a second to allow Android Studio to properly index some files, the progress of which can be seen in the bottom status bar.
If you want to create a project from the shell make sure that you have a local.properties
file, which is created by Android Studio automatically. If you need to create the project without Android Studio you need a line starting with sdk.dir=
followed by the path to your SDK installation.
Open a shell and go into the project's directory. Enter ./gradlew aR
and press enter. aR
is a shortcut for assembleRelease
, which will download all dependencies for you and build the app. The final APK file will be in ProjectName/ModuleName/build/outputs/apk
and will been called ModuleName-release.apk
.