Arcgis4android 1: Environment deployment with Android studio for ArcGIS-Android development-the right version

Source: Internet
Author: User

There are many ways to try to configure the environment, and you cannot display the map, which simulates the run-time program exiting directly. Finally see this Bo friend's configuration, missing an important step:reference so file. For some people may not have a problem, I have a problem here anyway. Refer to the so file, open the Build.gradle under the Moudle directory, and add the following configuration under the Android node.
Note: If the so file is not properly introduced, the class library will fail to load when the program executes.

---------------------------the original in the next--------------------------------------

Ride the Wind Moye use Android Studio for an environment deployment for the ArcGIS for Android development

1. Tool Preparation

Android SDK API: Android Studio 1.3.1 ArcGIS Runtime SDK for Android 10.2.7 Genymotion 2.5.32. Create a new Android Studio project, and switch to the project structure. ① Open the ArcGIS Runtime SDK for Android 10.2.7 Compression pack, Copy the copied files to the Libs folder under the new Moudle directory by copying other files under the Libs folder except Arcgis-android-app-toolkit.jar. 1) refer to Jar package, select Jar, right-click Add as Library. 2) refer to the so file, open the Build.gradle under the Moudle directory, and add the following configuration under the Android node.
Note: If the so file is not properly introduced, the class library will fail to load when the program executes. ② switch to the SRC directory, open the Androidmanifest.xml file in the main directory and add the following configuration file.
③ Open the Build.gradle under the Moudle directory and add the following configuration under the Android node.
④ add Mapview and load in mainactivity. ⑤ operation, the effect is as follows.

Arcgis4android 1: Environment deployment with Android studio for ArcGIS-Android development-the right version

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.