

In this step we want to ensure that your project is using the latest Gradle plugin. Continue to accept the defaults in the remaining windows by clicking Next and complete the wizard.Īs we stated earlier, each module has it’s own gradle build file.Keep the defaults for the rest and click Next.Set the Minimum required SDK to API 15: Android 4.0.3 (IceCreamSandwich).Choose and Application name and Module name.Open up Android Studio and choose New Project under Quick Start.In this section we will step through the process of creating a new Android Studio project and integrate the ArcGIS Android SDK in the app module. Feature and permission requirements are still declared in the manifest. Several common items and settings which in Eclipse are in the Android Manifest have either automatically added, e.g: allowBackup=true or have been moved to adle such as version codes and minSdkVersion, targetSdkVersion, etc. Native libs outside this folder would require a gradle dependency. There is no need to add a gradle dependency when using this folder. Local pre-built native libs go in the jniLibs folder in your modules /src/main/ folder. The code above adds all the *.jar files from the modules libs directory as dependencies. This should be added to your gradle build file as follows: In Android Studio you need to add the jars as a gradle dependency. Local jar files go in the libs folder at the root of your module directory. Some modules can be Library Modules which are conceptually the same as Libary Projects in Eclipse.Each module has it’s own Gradle build file.Modules are somewhat similar to an Eclipse project with a few key differences: Modules are a discrete unit of functionality that can be run, tested, and debugged independently. In Android Studio, projects are replaced by App Modules and Libary Modules. In Eclipse you have the concept of a workspace which can consist of multiple projects linked or unlinked. If you are not comfortable using an unfinished product, you may want to continue to use the Eclipse Plugin bundled with the ArcGIS Android SDK. The platform is still in early access preview.

Google’s Android Studio is a developer IDE based on IntelliJ IDEA platform.
