Windows Installer Androidstudio Development software

Source: Internet
Author: User
Tags samsung android java se

In order to develop an Android app, you must install the following software on your system:

1.JDK.

2.Android Studio developer tools or offline Android SDK tools.

3.NDK.

It is recommended to install Gradle but not necessary. Please see the Gradle paragraph for more information.


Jdk

JDK is a necessary condition for androidstudio and Gradle.

The latest release version of the JDK is JDK 8u45, which can be downloaded at the following address: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html.


The latest JDK version is in the following address: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html.


Once the installation is downloaded, add a valid environment variable java_home and set its value to the JDK installation location. For example, the value may be C:\Program files\java\jdk1.8.0_45 If you are installing a x64 version.

Based on the default installation of the Java SE 8u45, the correct syntax to set with the command line is:

Set java_home= "C:\Program files\java\jdk1.8.0_45"
Note: The Java_hom value must be your true path, and it may be different from the example.

Also, add the JDK to your path. C:\Program Files\jave\jdk1.8.0_45\bin.


Android Studio Installation


From below the position below Androidstudio

Https://developer.android.com/sdk/index.html


The Androidstudio installation package contains the basic tools you need to start developing your Java Android app:

1.Android Studio IDE.

2.Android SDK Tools.

3. The latest Android platform.

4. The latest simulator system image.

Once the download is complete, follow the installation instructions for Android: Https://developer.android.com/sdk/installing/index.html?pkg=studio.


Installing additional packages and tools


You must download the Add-on toolkit required by the Mobile SDK via the Android Studio SDK Manager in TOOLS->ANDROID->SDK manager.android Studio You may be prompted for some automatic steps when you first start it.

Native development requires the following packages:

1.android SDK 4.4.2. API level 19 or newer.

2.Android Build Tools 22.0.1


In SDK Manager, the options package under the SDK Tools bar is working with the Mobile SDK:

1.Android SDK Tools 23.0.2

2.Android SDK Platform-tools 20

3.Android SDK Build-tools 20


More information about installing additional packages is in the following link: https://developer.android.com/tools/help/sdk-manager.html.


Ndk


The NDK toolset allows you to implement parts of your app using the C and C + + languages. In this release version of the sample application a lot of the NDK is used.

Note: You can install the NDK during the Android studio installation process, but we recommend manually installing it to ensure that your command line environment is set appropriately and appropriate for your studio configuration.


The version of the latest NDK and mobile SDK works together is r10e.


1. Download the approximate version of the NDK from the following location: Https://developer.android.com/ndk/downloads/index.html.

2. Save EXE to the directory you like to install: for example: C:\Dev\Android\android-ndk-r103\.

3. Once downloaded, double-click the EXE to pressurize its contents into the parent directory.

4. Add the NDK location to your path. Example: C:\Dev\Android\android-ndk-r10e\

5. Add the environment variable ANDROID_NDK, set its value to the location of your Android NDK. Example: C:\Dev\Android\android-ndk-r10e

6. Using the above position as an example, the correct syntax for setting environment variables in the command line is: android_ndk=c:\dev\android\android-ndk-r10e


Grade


Grade is a compiled automation component that is dependent on our offline compilation scripts and Androidstudio management, and it also allows for custom compilation logic. Gradle replaces the previous Android build system, ANT, which has now been deprecated in Android development.


Use the Mobile SDK without having to install Gradle. Oculus Mobile SDK 1.0+ compilation script uses Gradle Wrapper, a small Wrapper, automatically download and install Gradle the first time you compile a project. However, if you wish to install the full version of Gradle, we have instructions.


The latest beta release is Gradle2.7. Select full download If you want to have Gradle source and offline documentation.

Install Gradle:

1. Download version 2.7 from http://gradle.org/gradle-download/.

2. Put it in the desired directory. For example: C:\Dev\Android\gradle-2.7.

3. Add Gradle to execute the directory into your PATH variable. For example: C:\Dev\Android\gradle-2.7\bin.

4. Restart your interrupt window to use the environment variable to take effect.

5. You should now be able to compile the use build-g.


Set up your system to detect your Android device


In order to run, Debug and test your app on your Android device, you must set up your system to detect your Android device via USB.


If you are developing on Windows, you may need to install an ADB USB driver after installing the Android SDK. For installation guides and OEM driver links, see the android OEM USB driver documentation.


Samsung Android Drive at their own developer site: Http://developer.samsung.com/android/tools-sdks/Samsung-Android-USB-Driver-for-Windows.


Windows may automatically detect the correct device and install the approximate driver when you connect your device to the USB port on your computer.


Access device management through the Windows Control Panel. If the device is automatically detected, it will appear under the device managed port device. Also, view the other devices in device management and select devices to manually update the drivers.


In order to verify that the driver successfully identifies the device, open the Command window and enter the following command: ADB devices

Note: You will need to successfully configure your Android development environment in order to use this command. For more information, see the next section of the Android development environment configuration.


If the device is not displayed, check that the device has enough power to open, and that the drive is properly installed.


Windows Installer Androidstudio Development software

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.