Same issue, ( Android) This is a fresh build with fresh .pbf and map files
An error happened while creating graph:Version of edges unsupported: 14, expected:15. Make sure you are using the same GraphHopper version for reading the files that was used for creating them.
As per gregws advice above I deleted all the graph files ( on the phones “Internal storage\Download\graphhopper\maps\new-zealand-latest-gh” directory, except for the map
This produced: , "An error happened while creating graph:Cannot load properties to fetch EncodingManager configuration at: /storage/emulated/0/Download/graphhopper/maps/new-zealand-latest-gh/
So I reinstated the properties file, so just the properties file and the map in the directory I get the old error mesage back again
I/GH: An error happened while creating graph:Version of edges unsupported: 14, expected:15. Make sure you are using the same GraphHopper version for reading the files that was used for creating them. See https://…
Build log as follows
$ ./graphhopper.sh -a import -i new-zealand-latest.osm.pbf
using java from C:\Program Files\Java\jdk1.8.0_201
using existing osm file new-zealand-latest.osm.pbf
existing jar found web/target/graphhopper-web-0.13-SNAPSHOT.jar
now import. JAVA_OPTS=-Xmx1000m -Xms1000m
2019-12-11 17:51:22.187 [main] INFO c.g.reader.osm.GraphHopperOSM - version 0.13|2019-11-18T07:52:46Z (5,14,4,3,3,3)
2019-12-11 17:51:22.194 [main] INFO c.g.reader.osm.GraphHopperOSM - graph CH|car|RAM_STORE|2D|NoExt|, details:edges:0(0MB), nodes:0(0MB), name:(0MB), geo:0(0MB), bounds:1.7976931348623157E308,-1.7976931348623157E308,1.7976931348623157E308,-1.7976931348623157E308, CHGraph|fastest|car|edge_based=false, shortcuts:0, nodesCH:(0MB)
2019-12-11 17:51:22.262 [main] INFO c.g.reader.osm.GraphHopperOSM - start creating graph from new-zealand-latest.osm.pbf
2019-12-11 17:51:22.262 [main] INFO c.g.reader.osm.GraphHopperOSM - using CH|car|RAM_STORE|2D|NoExt|, memory:totalMB:958, usedMB:36
2019-12-11 17:51:43.022 [main] INFO com.graphhopper.reader.osm.OSMReader - creating graph. Found nodes (pillar+tower):3▒092▒623, totalMB:935, usedMB:417
2019-12-11 17:52:00.415 [main] INFO com.graphhopper.reader.osm.OSMReader - 29▒719▒281, now parsing ways
2019-12-11 17:52:07.966 [main] INFO com.graphhopper.reader.osm.OSMReader - 31▒515▒504, now parsing relations
2019-12-11 17:52:07.977 [main] INFO com.graphhopper.reader.osm.OSMReader - finished way processing. nodes: 389001, osmIdMap.size:3097015, osmIdMap:38MB, nodeFlagsMap.size:4392, relFlagsMap.size:0, zeroCounter:4222 totalMB:945, usedMB:537
2019-12-11 17:52:07.977 [main] INFO com.graphhopper.reader.osm.OSMReader - time pass1:20s, pass2:24s, total:45s
2019-12-11 17:52:07.979 [main] INFO c.g.r.s.PrepareRoutingSubnetworks - start finding subnetworks (min:200, min one way:200) totalMB:945, usedMB:537
2019-12-11 17:52:08.319 [main] INFO c.g.r.s.PrepareRoutingSubnetworks - car-access|version=-318709518|bits=1|index=0|shift=24|store_both_directions=true findComponents time:0.3392332, size:9378
2019-12-11 17:52:08.496 [main] INFO c.g.r.s.PrepareRoutingSubnetworks - 30212 subnetworks found for car, totalMB:945, usedMB:645
2019-12-11 17:52:08.727 [main] INFO c.g.r.s.PrepareRoutingSubnetworks - optimize to remove subnetworks (30212), unvisited-dead-end-nodes (22274), maxEdges/node (9)
2019-12-11 17:52:09.000 [main] INFO c.g.reader.osm.GraphHopperOSM - edges: 454▒731, nodes 358▒790, there were 30▒212 subnetworks. removed them => 30▒211 less nodes
2019-12-11 17:52:09.931 [main] INFO c.g.storage.index.LocationIndexTree - location index created in 0.9263888s, size:813▒427, leafs:414▒043, precision:300, depth:7, checksum:358790, entries:[16, 16, 16, 16, 16, 4, 4], entriesPerLeaf:1.9645954
2019-12-11 17:52:09.954 [main] INFO c.g.r.ch.CHAlgoFactoryDecorator - 1/1 calling CH prepare.doWork for fastest|car|edge_based=false … (totalMB:937, usedMB:524)
2019-12-11 17:52:13.322 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 358▒790, shortcuts: 0, updates: 0, checked-nodes: 0, t(total): 3.36, t(period): 3.34, t(lazy): 0.00, t(neighbor): 0.00, t(contr): 0.00, t(other) : 0.03, dijkstra-ratio: 45.50%, meanDegree: 1.00, dijkstras: 1▒318▒458, mem: 5MB, totalMB:937, usedMB:555
2019-12-11 17:52:18.474 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 287▒032, shortcuts: 87, updates: 1, checked-nodes: 71▒758, t(total): 8.52, t(period): 7.88, t(lazy): 0.00, t(neighbor): 0.24, t(contr): 0.13, t(other) : 0.27, dijkstra-ratio: 55.91%, meanDegree: 1.00, dijkstras: 2▒395▒368, mem: 5MB, totalMB:937, usedMB:584
2019-12-11 17:52:22.956 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 215▒274, shortcuts: 15▒660, updates: 2, checked-nodes: 143▒516, t(total): 13.00, t(period): 11.60, t(lazy): 0.00, t(neighbor): 0.51, t(contr): 0.44, t(other) : 0.45, dijkstra-ratio: 58.46%, meanDegree: 1.67, dijkstras: 3▒249▒727, mem: 5MB, totalMB:937, usedMB:611
2019-12-11 17:52:28.057 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 143▒516, shortcuts: 80▒527, updates: 3, checked-nodes: 215▒274, t(total): 18.10, t(period): 14.83, t(lazy): 0.00, t(neighbor): 1.29, t(contr): 1.34, t(other) : 0.64, dijkstra-ratio: 60.66%, meanDegree: 1.96, dijkstras: 4▒060▒911, mem: 5MB, totalMB:937, usedMB:644
2019-12-11 17:52:32.462 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 71▒758, shortcuts: 146▒800, updates: 4, checked-nodes: 287▒032, t(total): 22.51, t(period): 17.14, t(lazy): 0.00, t(neighbor): 2.16, t(contr): 2.37, t(other) : 0.84, dijkstra-ratio: 61.96%, meanDegree: 2.00, dijkstras: 4▒699▒103, mem: 5MB, totalMB:937, usedMB:677
2019-12-11 17:52:40.271 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 12▒532, shortcuts: 236▒446, updates: 5, checked-nodes: 358▒790, t(total): 30.32, t(period): 18.52, t(lazy): 1.99, t(neighbor): 4.38, t(contr): 4.34, t(other) : 1.08, dijkstra-ratio: 65.36%, meanDegree: 4.12, dijkstras: 5▒617▒988, mem: 5MB, totalMB:942, usedMB:523
2019-12-11 17:52:47.268 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 0, shortcuts: 274▒501, updates: 5, checked-nodes: 377▒302, t(total): 37.31, t(period): 18.52, t(lazy): 4.41, t(neighbor): 7.53, t(contr): 5.68, t(other) : 1.17, dijkstra-ratio: 68.60%, meanDegree: 1.07, dijkstras: 6▒393▒033, mem: 5MB, totalMB:942, usedMB:535
2019-12-11 17:52:47.268 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - new shortcuts: 274▒501, initSize:358▒790, prepare|fastest, periodic:20, lazy:10, neighbor:20, t(total): 37.31, t(period): 18.52, t(lazy): 4.41, t(neighbor): 7.53, t(contr): 5.68, t(other) : 1.17, dijkstra-ratio: 68.60%, lazy-overhead: 5%, totalMB:942, usedMB:535
2019-12-11 17:52:47.269 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - took: 37s, graph now - num edges: 454▒731, num nodes: 358▒790, num shortcuts: 274▒501
2019-12-11 17:52:47.270 [main] INFO c.g.reader.osm.GraphHopperOSM - flushing graph CH|car|RAM_STORE|2D|NoExt|5,14,4,3,3, details:edges:454▒731(14MB), nodes:358▒790(5MB), name:(2MB), geo:4▒682▒032(18MB), bounds:167.15082080254302,178.5443738,-46.92564637047752,-34.3977855, CHGraph|fastest|car|edge_based=false, shortcuts:274▒501, nodesCH:(3MB), totalMB:942, usedMB:537)
2019-12-11 17:52:47.476 [main] INFO c.g.reader.osm.GraphHopperOSM - flushed graph totalMB:942, usedMB:569)
2019-12-11 17:52:47.477 [main] INFO c.g.http.GraphHopperManaged - loaded graph at:./new-zealand-latest.osm-gh, data_reader_file:new-zealand-latest.osm.pbf, encoded values:roundabout|version=283388307|bits=1|index=0|shift=0|store_both_directions=false,road_class|version=888755028|bits=5|index=0|shift=1|store_both_directions=false,road_class_link|version=146075245|bits=1|index=0|shift=6|store_both_directions=false,road_environment|version=-446726394|bits=3|index=0|shift=7|store_both_directions=false,max_speed|version=-1300485567|bits=5|index=0|shift=10|store_both_directions=true,road_access|version=-313723172|bits=4|index=0|shift=20|store_both_directions=false, edges:454▒731(14MB), nodes:358▒790(5MB), name:(2MB), geo:4▒682▒032(18MB), bounds:167.15082080254302,178.5443738,-46.92564637047752,-34.3977855, CHGraph|fastest|car|edge_based=false, shortcuts:274▒501, nodesCH:(3MB)