Hi,
I am currently trying to build version 4.2.4 of OsmAnd, using the commits specified in
the Jenkins. However, when compiling the OsmAnd project, i run into several basic Java errors. E.g.
OsmAnd/src/net/osmand/plus/views/layers/MapMarkersLayer.java:859: error: incompatible types: float cannot be converted to Double
outlinePattern.add(35 / getMapDensity());
In the version 4.2.2 there was one such error, now there are 3 in 4.2.4. Since these are supposed to be stable builds, it makes me think i'm missing something. Is there some compile option i should be setting to automatically widen the float to double before auto-boxing?
I am building with the command line
$ gradle assembleAndroidFullLegacyFatRelease
Using NDK 23c and Java 11.
Thanks.