AnsweredAssumed Answered

Hi,  ArcGISLocalTiledLayer doesn't load.

Question asked by Maursalazar75 on Apr 17, 2016
Latest reply on Jul 21, 2016 by ANohe-esristaff

when i try to load ArcGISLocalTiledLayer, i have this error. I try with different TPK, owns, and th esri.

Thanks in advanced.

 

E/ArcGIS: url =file:///mnt/sdcard/AndroidNavColombia/Tiles/SanFrancisco.tpk    java.lang.RuntimeException: Internal error exception - Failed to open file. May not be a valid tile package.

                                                                              at com.esri.android.map.ags.ArcGISLocalTiledLayer.nativeInitialize(Native Method)

                                                                              at com.esri.android.map.ags.ArcGISLocalTiledLayer.initLayer(SourceFile:118)

                                                                              at com.esri.android.map.ags.ArcGISLocalTiledLayer.<init>(SourceFile:82)

                                                                              at com.esri.android.map.ags.ArcGISLocalTiledLayer.<init>(SourceFile:69)

                                                                              at com.navcolombia.co.myapplication.MainActivity.onCreate(MainActivity.java:34)

                                                                              at android.app.Activity.performCreate(Activity.java:6876)

                                                                              at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)

                                                                              at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)

                                                                              at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)

                                                                              at android.app.ActivityThread.access$1100(ActivityThread.java:221)

                                                                              at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)

                                                                              at android.os.Handler.dispatchMessage(Handler.java:102)

                                                                              at android.os.Looper.loop(Looper.java:158)

                                                                              at android.app.ActivityThread.main(ActivityThread.java:7224)

                                                                              at java.lang.reflect.Method.invoke(Native Method)

                                                                              at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

                                                                              at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Outcomes