Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When I set android.api = 31 #2696

Closed
Tan837 opened this issue Oct 27, 2022 · 4 comments
Closed

Error When I set android.api = 31 #2696

Tan837 opened this issue Oct 27, 2022 · 4 comments
Labels

Comments

@Tan837
Copy link

Tan837 commented Oct 27, 2022

I tried to convert my kivy app to (aab):

when setting ( android.api = 30 ) It does not cause any problems
but play store asked me ( android.api >= 31 )

And when I changed android.api to 31 there was a problem with ( gradlew failed! )

"""
[WARNING]: ERROR: /content/.buildozer/android/platform/build-armeabi-v7a_arm64-v8a/dists/app/gradlew failed!
"""

@misl6
Copy link
Member

misl6 commented Oct 27, 2022

Hi @Tan837 !

Can you also post your buildozer.spec ?

@misl6
Copy link
Member

misl6 commented Oct 27, 2022

This is the relevant part of the log:

/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/soccerlineup/src/main/AndroidManifest.xml:27:7-31:18 Error:
android:exported needs to be explicitly specified for element <receiver#com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver>.
Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

Looks like you need to update com.google.firebase:firebase-ads:10.2.0 to a newer version.

@misl6 misl6 moved this from Todo to Done in Kivy's Control Tower Oct 27, 2022
@github-actions
Copy link

👋 We use the issue tracker exclusively for bug reports and feature requests. 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 or using python-for-android, maybe you could be interested in our quickstart guide.

Let us know if this comment was made in error, and we'll be happy to reopen the issue.

@SnKhor974
Copy link

@misl6 thanks so much, i set the version to 12.0.1 and it works! u made my day :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

3 participants