Closed veermaniperen closed 3 weeks ago
This is a well known issue due to a breaking change in play-services-location, caused when two different plug-in import the dependency at v20.+ and v21.+
One or your other plug-ins seems to be importing v21.+, so you must use GOOGLE_API_VERSION to align this plugin accordingly (see the readme).
Ah okay, I already tried v21.+ but maybe they should be exact, or should be an entirely different version.
I'll see if I can figure out what other plugins are using. Thanks for the hint.
Turned out that there was another override in OutSystems that rendered my setting of v21+ useless. Now that I corrected it at the right place, (extensibility configurations of the module in OutSystems) the problem is resolved.
Thank you for your help.
Your Environment
cordova -v
): Hard to tell, is wrapped by OutSystemscordova platform ls
): Hard to tell, is wrapped by OutSystems#ready
:<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-background-geolocation-lt" version="4.16.1">
Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient'