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

Your app currently targets API level 30 and must target at least API level 31 to ensure that it is built on the latest APIs optimised for security and performance. Change your app's target API level to at least 31 #2727

Closed
T-Dynamos opened this issue Jan 1, 2023 · 1 comment
Labels

Comments

@T-Dynamos
Copy link
Contributor

Unable to upload to playstore
if I manually change sdk version in build.gradle and AndroidManifest.xml(changed android:targetSdkVersion="31" ):

…buildozer/android/platform/build-armeabi-v7a_x86/dists/privachat on  main [x!?] via  v17.0.5 via  v3.10.9
╰─λ ./gradlew clean bundleRelease

> Configure project :
WARNING:Using flatDir should be avoided because it doesn't support any meta-data formats.

> Task :processReleaseMainManifest FAILED
/home/tdynamos/PrivaChat/.buildozer/android/platform/build-armeabi-v7a_x86/dists/privachat/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.

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processReleaseMainManifest'.
> Manifest merger failed : 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.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8s
6 actionable tasks: 6 executed

@misl6 misl6 added the support label Jan 1, 2023
@github-actions
Copy link

github-actions bot commented Jan 1, 2023

👋 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.

@github-actions github-actions bot closed this as completed Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants