Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The app cannot declare different versions of Google Play services depending on the device configuration

The app cannot declare different versions of Google Play services depending on the device configuration. The following versions were found: [0, 12451000]

enter image description here

My guess is that the version of com.google.android.gms.version is wrong. But i can not figure out 0 is coming from where.

And i view the manifest via bundletool.jar and it looks fine

<meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />

Any ideas? Thanks!

like image 726
刘苏铮 Avatar asked Oct 22 '25 10:10

刘苏铮


1 Answers

I fixed this problem by changing the com.android.application and com.android.library version from 7.3.0-alpha 07 to 7.1.2. This worked for me without any problems.

like image 152
Azmi radi Azmi Avatar answered Oct 25 '25 02:10

Azmi radi Azmi



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!