Graphhopper-错误的位置索引版本

时间:2019-05-23 22:03:17

标签: android graphhopper mapsforge

无法加载图形数据,该库将引发有关索引版本的警告:

W/System.err: java.lang.IllegalStateException: incorrect location index version, expected:96230
W/System.err:     at com.graphhopper.storage.index.LocationIndexTree.loadExisting(LocationIndexTree.java:253)
W/System.err:     at com.graphhopper.GraphHopper.createLocationIndex(GraphHopper.java:1126)
W/System.err:     at com.graphhopper.GraphHopper.initLocationIndex(GraphHopper.java:1141)
W/System.err:     at com.graphhopper.GraphHopper.postProcessing(GraphHopper.java:831)
W/System.err:     at com.graphhopper.GraphHopper.load(GraphHopper.java:747)
W/System.err:     at com.dispatcher.driver.service.TrackerService$GraphhopperLoader.doInBackground(TrackerService.java:3205)
W/System.err:     at com.dispatcher.driver.service.TrackerService$GraphhopperLoader.doInBackground(TrackerService.java:3188)
W/System.err:     at android.os.AsyncTask$2.call(AsyncTask.java:305)
W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
W/System.err:     at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
W/System.err:     at java.lang.Thread.run(Thread.java:761)

我从存储库中提取了最新的更改并生成了一个新图,我也使用了0.12.0和0.12-SNAPSHOT版本,但是错误不断出现

implementation 'com.graphhopper:graphhopper-core:0.12-SNAPSHOT'
implementation 'com.graphhopper:graphhopper-core:0.12.0'

0 个答案:

没有答案