ArcGIS for Android installation configuration on Eclipse (under: Installation configuration)

Source: Internet
Author: User

To take on an ArcGIS for Android installation configuration on Eclipse (on: Download), this article explains in detail the ArcGIS Runtime SDK for Android installation configuration in the Eclipse environment.


This paper mainly consists of two parts:

One, automatic installation (for arcgis-android-sdk-v10.2.4 and the previous SDK version);

Second, manual configuration (for arcgis-android-sdk-v10.2.5 and later SDK version);


The following automatic installation takes the v10.2.4 version as an example, manually configured with the v10.2.5 version as an example, by default you have prepared these two versions of the SDK development package, and the development package to understand the pressure, about the relevant version of the free download link please refer to the previous article.

First, the arcgis-android-sdk-v10.2.4 version as an example of automatic installation

1. Menu bar, Help-->install New software ... ;


2, install the dialog box to select the right add;


3. Click "Archive ..." in the pop-up Add Repository dialog box .


4. In the pop-up File selection dialog box, navigate to the directory where your v10.2.4 SDK package is located (for example, after extracting my directory: D:\. (The intermediate directory is omitted). \arcgis-android-sdk-v10.2.4), and further open to the following directory \arcgis-android-sdk-v10.2.4\tools\eclipse-plugin\, Locate the Arcgis-android-eclipse-plugin.jar file in the directory, and select the file.


Description: Part of the old version without decompression, after clicking Archive directly select the download of the compressed package can, if not, use this step to locate the extracted Tools\eclipse-plugin directory, select the. jar package. The version after v10.2.4 is not supported for automatic installation and therefore does not have the tools directory.

5. Select the middle part of ArcGIS for Android and click Next to install it.


6. After the installation is complete, you may need to restart Eclipse, after reboot, the menu bar file-->project ... ;


7. You can see the ArcGIS for Android option in the New Project dialog box, and it is possible to create a new project or learn the samples that it comes with as needed.


At this point, the automatic installation is successful, and I hope you have succeeded in this step. congratulations!



ii. Manual configuration with the arcgis-android-sdk-v10.2.5 version as an example


1. Create a new Android Application project (create a generic Android project like Android);

File-->android Application project--> Blablabla This is not much to say, is a normal Android project.


Note where the above two red boxes are (Libs directory and Androidmanifest.xml file), the next manual configuration is mainly for these two places.


2. Add ArcGIS Android Libs Pack

Open your extracted arcgis-android-sdk-v10.2.5 directory, locate the Libs folder (as shown), and copy all the files under that folder to the Libs folder under your new project directory in step 1;


As shown in the figure in step 1, The Libs folder of the new project has only one Android-support-v4.jar file, after copying the 8 files in the figure in step 2 to the Libs folder in the new project directory, right---refresh the project name in Eclipse, and after the refresh, the Libs folder appears just Copy the content (as shown);


3. Update manifest file

Double-click the open androidmanifest.xml file to add the following (code snippet) to <uses-sdk> below and <application> above;

    <uses-permission android:name= "Android.permission.INTERNET"/>     <uses-permission android:name= " Android.permission.WRITE_EXTERNAL_STORAGE "/>    <uses-permission android:name=" Android.permission.ACCESS _fine_location "/>    <uses-feature    android:glesversion=" 0x00020000 "    android:required=" true "/ >
The 2nd and 3 steps should be done this way:

At this point, the manual configuration is all over, followed by their own development. (manual configuration is summed up is libs under the copy file, androidmanifest.xml add a few lines of code, is not complex)

It's a bit verbose, you can also refer to the official profile for manual configuration: Using Eclipse with ArcGIS Android v10.2.5


Summary, the ArcGIS Android environment configuration for the eclipse environment, automatically or manually, is written so much first. The above are personal humble opinion, limited capacity, but also hope to discuss with you, progress together.


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

ArcGIS for Android installation configuration on Eclipse (under: Installation configuration)

Related Article

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.