Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple Google Play Services library Versions

According to Android developer documentation, Google Play Services library provides an interface to the hosting application so that, at runtime, it can access to Google Play services APK through interprocess communication.

Considering the following configuration where an android application includes Google Play Services library and a SDK that also includes Google Play Services library, as shown below:

  • MyApplication
    • Google Play service v.XX
    • MySDK
      • Google Play Services v.YY

Since the SDK and the hosting application include different versions of Google Play Services library, is version YY fetched at MyApplication build time instead of version XX ? Is the final application built with the two different versions (XX and YY) and in this case which one is called at runtime?

Best Regards,

like image 878
lucas_xm Avatar asked May 28 '26 04:05

lucas_xm


1 Answers

You can use command ./gradlew app:dependencies at Android Studio console to see all dependencies and which version is being used.

like image 122
Pongpat Avatar answered May 31 '26 16:05

Pongpat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!