Skip to content

com.google.android.gms:play-services-ads has added this note for play-services-ads:21.4.0 #3240

Closed as not planned

Description

@mecrayavcin

Hi Kivy lovers.

Today i got two mails from Google Play Console Developers

Problems are:

com.google.android.gms:play-services-ads has added this note for play-services-ads:21.4.0
and
com.google.android.gms:play-services-ads-lite has added this note for play-services-ads-lite:21.4.0

com.google.android.gms:play-services-ads has added this note for play-services-ads:21.4.0:

As of June 30th 2025, this version is sunset. For more information, please visit https://developers.google.com/admob/android/deprecation.

Please consider upgrading com.google.android.gms:play-services-ads:21.4.0 in order to avoid issues in your future releases.

Affected app bundles and APKs:

version: 1024503 (5.3), release: 1024503 (5.3)
If you have questions about this SDK, contact the SDK provider.

Learn more
Sincerely,
The Google Play team

com.google.android.gms:play-services-ads-lite has added this note for play-services-ads-lite:21.4.0:

As of June 30th 2025, this version is sunset. For more information, please visit https://developers.google.com/admob/android/deprecation.

Please consider upgrading com.google.android.gms:play-services-ads-lite:21.4.0 in order to avoid issues in your future releases.

Affected app bundles and APKs:

version: 1024503 (5.3), release: 1024503 (5.3)
If you have questions about this SDK, contact the SDK provider.

Learn more
Sincerely,
The Google Play team

Image Image
  • How can we fix this?
  • I have shared my Buildozer SPEC file.
  • Could you please help me?
  • Thanks for each comment!

buildozer_spec.txt

Activity

  1. mecrayavcin commented on Oct 20, 2025

    @mecrayavcin
    Author

    Old Code:

    android.gradle_dependencies = com.google.firebase:firebase-ads:21.4.0, androidx.appcompat:appcompat:1.6.1, androidx.activity:activity:1.6.1

    GEMINI Recommend

    android.gradle_dependencies = com.google.firebase:firebase-ads:23.1.0, androidx.appcompat:appcompat:1.6.1, androidx.activity:activity:1.6.1

    I will try that

  2. github-actions commented on Oct 21, 2025

    @github-actions

    👋 @mecrayavcin,
    Sorry to hear you are having difficulties with Kivy's python-for-android; Kivy unites a number of different technologies, so building apps can be temperamental.
    We try to use GitHub issues only to track work for developers to do to fix bugs and add new features to python-for-android.
    However, this issue appears to be a support request. Please use our support channels to get help with the project.
    If you're having trouble installing python-for-android, please see our quickstart guide.
    If you're having trouble using python-for-android, please see our troubleshooting guide and FAQ.
    Let us know if this comment was made in error, and we'll be happy to reopen the issue.

  3. mecrayavcin commented on Oct 21, 2025

    @mecrayavcin
    Author

    Old Code:

    android.gradle_dependencies = com.google.firebase:firebase-ads:21.4.0, androidx.appcompat:appcompat:1.6.1, androidx.activity:activity:1.6.1

    GEMINI Recommend

    android.gradle_dependencies = com.google.firebase:firebase-ads:23.1.0, androidx.appcompat:appcompat:1.6.1, androidx.activity:activity:1.6.1

    I will try that
    @T-Dynamos
    The code above did not work

    Bt the way Claude suggested me:

    Old
    android.gradle_dependencies = com.google.firebase:firebase-ads:21.4.0, androidx.appcompat:appcompat:1.6.1, androidx.activity:activity:1.6.1

    New
    android.gradle_dependencies = com.google.android.gms:play-services-ads:23.6.0, androidx.appcompat:appcompat:1.6.1, androidx.activity:activity:1.6.1

    Should i try it?
    Still seaching for fix...

  4. Novfensec commented on Oct 21, 2025

    @Novfensec
    Contributor

    @mecrayavcin

    # (list) Gradle dependencies to add
    [app:android.gradle_dependencies]
    # Google Admob
    androidx.appcompat:appcompat:1.7.0
    androidx.activity:activity:1.10.1
    com.google.android.gms:play-services-ads:24.3.0
    
    android.enable_androidx = True
    
    android.meta_data = com.google.android.gms.ads.APPLICATION_ID=Application_ID
    

    Complete setup could be found at https://github.com/CarbonKivy/Carbonify

    With latest java source and xml and kivmob.

  5. mecrayavcin commented on Oct 24, 2025

    @mecrayavcin
    Author

    android.gradle_dependencies = com.google.firebase:firebase-ads:21.4.0, androidx.appcompat:appcompat:1.6.1, androidx.activity:activity:1.6.1

    GEMINI Recommend

    android.gradle_dependencies = com.google.firebase:firebase-ads:23.1.0, androidx.appcompat:appcompat:1.6.1, androidx.activity:activity:1.6.1

    I will try that

    fixed my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions