Select to view content in your preferred language

import com.esri.arcgisruntime.data.ShapefileFeatureTable;

1043
2
08-29-2018 01:28 AM
asimjan
New Contributor

the following line of code exists in my gradle

compile 'com.esri.arcgisruntime:arcgis-android:100.1.0
however on trying the following
import com.esri.arcgisruntime.data.ShapefileFeatureTable;
i get the error : "cannot resolve symbol ShapefileFeatureTable"
i want to display a local shape file over my base map in my android app

(Feature Layer Shapefile—ArcGIS Runtime SDK for Android | ArcGIS for Developers )

0 Kudos
2 Replies
EricBader
Honored Contributor

ShapefileFeatureTable was introduced at 100.2.0. Change your gradle script to the latest version - 100.3.0

asimjan
New Contributor

i am trying to use the code on this link Feature Layer Shapefile—ArcGIS Runtime SDK for Android | ArcGIS for Developers  but here in they mention the shapefile_path string which i have in my res/strings.xml file

my question is where does this folder go? i mean does it exist in the root app/ArcGIS/samples or in the resources folder kindly guide me

<string name="shapefile_path">/ArcGIS/Samples/ShapeFile/Aurora_CO_shp/Public_Art.shp</string>
0 Kudos