The error seems to indicate that a string was parsed instead of an expected double.
BTW, there's no reference to the double type in lib's code; everything is based on the float type.
The lib was originally tested on a 4.2 Android, so it is surprising that it works for version 8 but noy for version 5 of it.
ps: are you from Bologna?