Problems to build with plugin cordova-plugin-request-location-accuracy and cordova-plugin-x-socialsharing

When I’m try to build the project this error occurs: Could not get unknown property ‘PLAY_SERVICES_LOCATION_VERSION’ for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler

Then I remove the cordova-plugin-request-location-accuracy and add again and change the property for ANDROID_SUPPORT_V4_VERSION and I’d remove cordova-plugin-x-socialsharing and the property of the error change to PLAY_SERVICES_LOCATION_VERSION.

I have these plugins:

<plugin name="cordova-plugin-googleplus" spec="7.0.2">
        <variable name="PLAY_SERVICES_VERSION" value="11.8.0" />
    </plugin>
    <plugin name="cordova-plugin-geolocation" spec="4.0.2">
        <variable name="GEOLOCATION_USAGE_DESCRIPTION" value="Para pegar as melhores promoções" />
    </plugin>
    <engine name="android" spec="~6.3.0" />
    <plugin name="cordova-plugin-request-location-accuracy" spec="~2.3.0">
        <variable name="PLAY_SERVICES_LOCATION_VERSION" value="16.+" />
    </plugin>
    <plugin name="cordova-plugin-x-socialsharing" spec="~5.6.0">
        <variable name="ANDROID_SUPPORT_V4_VERSION" value="24.1.1+" />
    </plugin>

I feel in a vicious cycle :neutral_face: