I spent a bunch of time looking at this. One of the things I did was start with a minimal project. If I added
<plugin name="cordova-background-geolocation-lt" source="npm" version="3.2.2" >
<!-- Android kaatui ilmoituksen tullessa, api version laittaminen auttoi -->
<variable name="GOOGLE_API_VERSION" value="16.0.0" />
I get the same error. But if I do this, it builds fine:
<plugin name="cordova-background-geolocation-lt" source="npm" version="3.2.2" />
At this point, I don’t think this is a VoltBuilder issue. A lot of libraries from Google and Cordova have changed since the PhoneGap days (they were badly out of date.) You might check with the developer of the plugin to see if they have suggestions.