GoogleChromeLabs / bubblewrap

Bubblewrap is a Command Line Interface (CLI) that helps developers to create a Project for an Android application that launches an existing Progressive Web App (PWAs) using a Trusted Web Activity.
Apache License 2.0
2.29k stars 152 forks source link

App must target Android 13 (API level 33) or higher #824

Closed hslee2008 closed 11 months ago

hslee2008 commented 11 months ago

Google Play Store Policy status warning details

We've detected that your app is targeting an old version of Android. To provide users with a safe and secure experience, Google Play requires all apps to meet target API level requirements.

From August 31, 2023, if your target API level is not within 1 year of the latest Android release, you won't be able to update your app.

To continue making updates to your app, ensure your app targets Android 13 (API level 33).

To provide users with a safe and secure experience, Google Play requires all apps to meet target API level requirements.

Your highest non-compliant target API level is Android 12 (API level 31).

To ensure that you can continue to make updates to your app you must:

Update your app to target Android 13 (API level 33) or higher. Publish a new version of your app to production. Before you do this, you can test your app using internal, closed, or open testing.

Learn more about the requirements Learn how to update your app Learn what changes you may need to make in your app Read the policy announcement

Related

https://github.com/GoogleChromeLabs/bubblewrap/issues/805

Question

  1. Is this related to bubblewrap?
  2. How should a developer using bubblewrap fix this warning?
ghnp5 commented 11 months ago

I'm not sure about this. I've rebuilt the app using the latest bubblewrap and it targetted 33. (I couldn't build on Windows because of the OutOfMemory issues, but it worked when I used Docker)

What you might be experiencing is that the Android SDK isn't up-to-date on your machine.

My trick is to go on the ".bubblewrap" folder (in your user home folder), delete the SDK and Java, and then bubblewrap will prompt to install the latest SDK and Java.