Monday, March 10, 2014

Arcgis for Android tpk file loading errors encountered


I use the following form to load all these types of error, google for a long time did not find effective solutions, seek expert ...! ! ! !
Load the code below:
 / / String cachePath = Environment.getExternalStorageDirectory () getPath ();. 
/ / DataPath = "file :/ /" + cachePath + "/ BaseMap.tpk";
/ / Local = new ArcGISLocalTiledLayer (dataPath);
local = new ArcGISLocalTiledLayer ("file :/ / / mnt / sdcard / tpk / BaseMap.tpk");
/ / Local = new ArcGISLocalTiledLayer ("file :/ / / storage/sdcard0/tpk/BaseMap.tpk"); / / ok
map.addLayer (local);


Screenshot given as follows:

Find Great God help us to see, very grateful! ! ! ! ! !<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
file under these paths I guarantee is there! ! !
Reply:
This error seems to be something that can not be found to use the thing is not being recycled to see you dedug
Reply:
Things are still, just do not understand why this error will be reported, arcgis for android want to have done to give me answer ah ......

reference to the second floor huage1998 reply:
This error seems to be something that can not be found to use the thing is not being recycled dedug you look

Reply:
file :/ / This removed
Reply:
references, 4th Floor china_ssl reply:
file :/ / This removed
does not work
Reply:
error reading configuration is not a problem with my conf.xml discrete sections have similar problems to call no problem crunch
Reply:
Solved, I wrote that is possible
Reply:
reference to the 7th floor zhanganlin123 reply:
resolved, I wrote that is possible

The landlord how to solve?
Reply:
Will the landlord how to solve? Seeking to share

No comments:

Post a Comment