java.lang.NoSuchMethodError: com.google.protobuf.CodedInputStream.newInstance

GitHub | annasoloviova | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Reproducable OsmAnd crashes on car head unit.

    GitHub | 7 months ago | annasoloviova
    java.lang.NoSuchMethodError: com.google.protobuf.CodedInputStream.newInstance

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.google.protobuf.CodedInputStream.newInstance

      at net.osmand.binary.BinaryMapIndexReader.<init>()
    2. net.osmand.binary
      BinaryMapIndexReader.<init>
      1. net.osmand.binary.BinaryMapIndexReader.<init>(BinaryMapIndexReader.java:124)
      1 frame
    3. net.osmand.map
      OsmandRegions.prepareFile
      1. net.osmand.map.OsmandRegions.prepareFile(OsmandRegions.java:96)
      1 frame
    4. net.osmand.plus
      AppInitializer$9.run
      1. net.osmand.plus.AppInitializer.indexRegionsBoundaries(AppInitializer.java:291)
      2. net.osmand.plus.AppInitializer.startApplicationBackground(AppInitializer.java:494)
      3. net.osmand.plus.AppInitializer.access$200(AppInitializer.java:69)
      4. net.osmand.plus.AppInitializer$9.run(AppInitializer.java:729)
      4 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:841)
      1 frame