Using offline maps in the Android app

I am making an Android application for using offline maps. I downloaded the map at http://download.geofabrik.de/. Also downloaded data ukraine-latest.osm.pbf. In the application, a map without additional files is displayed normally. But if in the application I start using files nodes, edges, etc. then the application throws an error. Graphhopper version 1.0-SNAPSHOT. Graphhopper I use versions 1.0-SNAPSHOT both for downloading files from osm and depending gradle.
implementation(group: ‘com.graphhopper’, name: ‘graphhopper-core’, version: ‘1.0-SNAPSHOT’) {
exclude group: ‘com.google.protobuf’, module: ‘protobuf-java’
exclude group: ‘org.openstreetmap.osmosis’, module: ‘osmosis-osm-binary’
exclude group: ‘org.apache.xmlgraphics’, module: ‘xmlgraphics-commons’
}
And this is the process of uploading files from an osm file:
{ graphhopper } master » ./graphhopper.sh -a import -i zakarpattia.osm ~/graphhopper 1

using java from C:\Program Files\Java\jdk1.8.0_25

using existing osm file zakarpattia.osm

existing jar found web/target/graphhopper-web-1.0-SNAPSHOT.jar

now import. JAVA_OPTS=-Xmx5g -Xms5g

2019-10-28 19:14:53.371 [main] INFO c.g.reader.osm.GraphHopperOSM - version 1.0|2019-10-28T15:34:35Z (5,15,4,3,3,5)
2019-10-28 19:14:53.540 [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|u_turn_costs=-1, shortcuts:0, nodesCH:(0MB)
2019-10-28 19:14:53.609 [main] INFO c.g.reader.osm.GraphHopperOSM - start creating graph from zakarpattia.osm
2019-10-28 19:14:53.611 [main] INFO c.g.reader.osm.GraphHopperOSM - using CH|car|RAM_STORE|2D|NoExt|, memory:totalMB:4907, usedMB:170
2019-10-28 19:15:00.312 [main] INFO com.graphhopper.reader.osm.OSMReader - creating graph. Found nodes (pillar+tower):496-287, totalMB:4907, usedMB:471
2019-10-28 19:15:09.863 [main] INFO com.graphhopper.reader.osm.OSMReader - 2-542-281, now parsing ways
2019-10-28 19:15:14.658 [main] INFO com.graphhopper.reader.osm.OSMReader - 2-727-482, now parsing relations
2019-10-28 19:15:14.665 [main] INFO com.graphhopper.reader.osm.OSMReader - finished way processing. nodes: 52965, osmIdMap.size:496709, osmIdMap:7MB, nodeFlagsMap.size:422, relFlagsMap.size:0, zeroCounter:415 totalMB:4907, usedMB:906
2019-10-28 19:15:14.666 [main] INFO com.graphhopper.reader.osm.OSMReader - time pass1:6s, pass2:14s, total:21s
2019-10-28 19:15:14.675 [main] INFO c.g.r.s.PrepareRoutingSubnetworks - start finding subnetworks (min:200, min one way:200) totalMB:4907, usedMB:906
2019-10-28 19:15:14.917 [main] INFO c.g.r.s.PrepareRoutingSubnetworks - car-access|version=-318709518|bits=1|index=0|shift=24|store_both_directions=true findComponents time:0.23980707, size:701
2019-10-28 19:15:15.004 [main] INFO c.g.r.s.PrepareRoutingSubnetworks - 3031 subnetworks found for car, totalMB:4907, usedMB:915
2019-10-28 19:15:15.032 [main] INFO c.g.r.s.PrepareRoutingSubnetworks - optimize to remove subnetworks (3031), unvisited-dead-end-nodes (2402), maxEdges/node (6)
2019-10-28 19:15:15.120 [main] INFO c.g.reader.osm.GraphHopperOSM - edges: 62-315, nodes 49-935, there were 3-031 subnetworks. removed them => 3-030 less nodes
2019-10-28 19:15:15.714 [main] INFO c.g.storage.index.LocationIndexTree - location index created in 0.57877415s, size:101-301, leafs:42-434, precision:300, depth:5, checksum:49935, entries:[16, 16, 16, 16, 4], entriesPerLeaf:2.3872602
2019-10-28 19:15:15.795 [main] INFO c.g.r.ch.CHAlgoFactoryDecorator - 1/1 calling CH prepare.doWork for fastest|car|edge_based=false|u_turn_costs=-1 … (totalMB:4907, usedMB:959)
2019-10-28 19:15:16.648 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 49-935, shortcuts: 0, updates: 0, checked-nodes: 0, t(total): 0.80, t(period): 0.78, t(lazy): 0.00, t(neighbor): 0.00, t(contr): 0.00, t(other) : 0.03, dijkstra-ratio: 30.15%, meanDegree: 1.00, dijkstras: 201-052, mem: 0MB, totalMB:4907, usedMB:968
2019-10-28 19:15:19.622 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 39-948, shortcuts: 0, updates: 1, checked-nodes: 9-987, t(total): 3.78, t(period): 3.49, t(lazy): 0.00, t(neighbor): 0.11, t(contr): 0.03, t(other) : 0.14, dijkstra-ratio: 70.26%, meanDegree: 1.00, dijkstras: 367-617, mem: 0MB, totalMB:4907, usedMB:972
2019-10-28 19:15:22.190 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 29-961, shortcuts: 2-543, updates: 2, checked-nodes: 19-974, t(total): 6.34, t(period): 5.50, t(lazy): 0.00, t(neighbor): 0.28, t(contr): 0.28, t(other) : 0.28, dijkstra-ratio: 72.42%, meanDegree: 2.00, dijkstras: 500-851, mem: 0MB, totalMB:4907, usedMB:972
2019-10-28 19:15:24.706 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 19-974, shortcuts: 8-935, updates: 3, checked-nodes: 29-961, t(total): 8.86, t(period): 7.15, t(lazy): 0.00, t(neighbor): 0.58, t(contr): 0.72, t(other) : 0.40, dijkstra-ratio: 74.38%, meanDegree: 1.87, dijkstras: 611-895, mem: 0MB, totalMB:4907, usedMB:976
2019-10-28 19:15:28.145 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 9-987, shortcuts: 17-012, updates: 4, checked-nodes: 39-948, t(total): 12.30, t(period): 9.04, t(lazy): 0.00, t(neighbor): 1.11, t(contr): 1.66, t(other) : 0.49, dijkstra-ratio: 77.71%, meanDegree: 2.28, dijkstras: 699-301, mem: 0MB, totalMB:4907, usedMB:981
2019-10-28 19:15:31.336 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 1-413, shortcuts: 26-224, updates: 5, checked-nodes: 49-935, t(total): 15.49, t(period): 9.29, t(lazy): 0.78, t(neighbor): 2.03, t(contr): 2.78, t(other) : 0.60, dijkstra-ratio: 79.08%, meanDegree: 2.36, dijkstras: 795-185, mem: 0MB, totalMB:4907, usedMB:985
2019-10-28 19:15:32.018 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - nodes: 0, shortcuts: 28-232, updates: 5, checked-nodes: 51-941, t(total): 16.17, t(period): 9.29, t(lazy): 1.09, t(neighbor): 2.21, t(contr): 2.94, t(other) : 0.65, dijkstra-ratio: 79.20%, meanDegree: 1.09, dijkstras: 823-300, mem: 0MB, totalMB:4907, usedMB:985
2019-10-28 19:15:32.025 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - new shortcuts: 28-232, initSize:49-935, prepare|fastest, periodic:20, lazy:10, neighbor:20, t(total): 16.18, t(period): 9.29, t(lazy): 1.09, t(neighbor): 2.21, t(contr): 2.94, t(other) : 0.65, dijkstra-ratio: 79.16%, lazy-overhead: 4%, totalMB:4907, usedMB:985
2019-10-28 19:15:32.028 [fastest_car_node] INFO c.g.r.c.PrepareContractionHierarchies - took: 16s, graph now - num edges: 62-315, num nodes: 49-935, num shortcuts: 28-232
2019-10-28 19:15:32.029 [main] INFO c.g.reader.osm.GraphHopperOSM - flushing graph CH|car|RAM_STORE|2D|NoExt|5,15,4,3,3, details:edges:62-315(2MB), nodes:49-935(1MB), name:(1MB), geo:662-943(3MB), bounds:22.054606424002493,24.70325528912072,47.852994081072374,49.08184109066072, CHGraph|fastest|car|edge_based=false|u_turn_costs=-1, shortcuts:28-232, nodesCH:(1MB), totalMB:4907, usedMB:985)
2019-10-28 19:15:32.135 [main] INFO c.g.reader.osm.GraphHopperOSM - flushed graph totalMB:4907, usedMB:988)
2019-10-28 19:15:32.149 [main] INFO c.g.http.GraphHopperManaged - loaded graph at:./zakarpattia-gh, data_reader_file:zakarpattia.osm, 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:62-315(2MB), nodes:49-935(1MB), name:(1MB), geo:662-943(3MB), bounds:22.054606424002493,24.70325528912072,47.852994081072374,49.08184109066072, CHGraph|fastest|car|edge_based=false|u_turn_costs=-1, shortcuts:28-232, nodesCH:(1MB)

Application error on this line:
String encodedValueStr = this.properties.get(“graph.encoded_values”);
if (!this.encodingManager.toEncodedValuesAsString().equalsIgnoreCase(encodedValueStr)) {
throw new IllegalStateException("Encoded values do not match:\nGraphhopper config: " + this.encodingManager.toEncodedValuesAsString() + "\nGraph: " + encodedValueStr + "\nChange configuration to match the graph or delete " + this.dir.getLocation());
}
Encoded values do not match:
Graphhopper config: roundabout|version=283388307|bits=1|index=0|shift=0|store_both_directions=false
Graph: 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