Which android.api Should i use in Buildozer for My Kivy APP?

208 views
Skip to first unread message

Mecra Yavcin

unread,
Feb 10, 2023, 4:57:30 PM2/10/23
to Kivy users support

I have a Kivy APP and before i used android.api 31 and android.api 32 in buildozer init. There is no problem. Today i tried android.api 33 and I created an aab file and signed it. When i sent it as a new release to update, i got en error in Ggoogle Play Console.

1 Error

Your app targets Android 13 (API 33) or above. You must declare the use of advertising ID in Play Console. Complete Declaration

And the Declaration:

Does your app use advertising ID? This includes any SDKs that your app imports that use advertising ID 

 No Yes 

 When you answer this question, make sure to verify if any third-party SDK code in your app uses advertising ID. If so, you must declare that your app uses it. Some SDKs, such as the Google Mobile Ads SDK (Play Services-ads) may already declare the com.google.android.gms.permission.AD_ID permission in the SDK's library manifest. If your app uses these SDKs as dependencies, the com.google.android.gms.permission.AD_ID permission from the SDK's library manifest will be merged with your app's main manifest by default, even if you don't explicitly declare the permission in your app's main manifest. Learn more

My Questions are:

  1. I have no ad and i coded my app it in Python, If i use android.api 33 aab file what should be the answer for Declaration. I think it should be NO, am i right? One day if i use Admob in any other app answer should be Yes?

  2. If i use android.api 33, does the app work only on Android 13? Can it work on Android 5.0? android.api 33 means up to Android 13 ot only Android 13?

  3. if android.api 33 does not support below 13 Android versions Beside android.api 33 which one sould i use android.api 32 or android.api 31

Thanks very much. Thanks for your comments.

Robert

unread,
Feb 10, 2023, 7:36:23 PM2/10/23
to Kivy users support
The store only accepts android.api = 32 or 33

The advertising id is unrelated to android.api , or Buildozer; read the Android docs about advertising id.

Kivy "Hello World" will run on any Android device running 5+  (regardless of android.api).
The store will deliver to any compatible device Android running 5+ (soon to be increased to 5.1 or maybe 6)
An app may be coded to use Android version specific features (e.g. shared storage, permissions) - understand this by reading the Android docs.
 
Reply all
Reply to author
Forward
0 new messages