top of page

[Android] What is Android API level?


Introduction

When I try to upload an app to Google Play Store, the following error occurs


Your app is currently targeting API level 31. To take advantage of the latest security- and performance-optimized APIs, you should target API level 33 or higher.


I took this opportunity to research what the API level is and how to raise it.



What is API level?

Level (version) of the SDK provided by the Android OS (the app uses this)

The first version is 1, and it is constantly updated.


It seems that the current policy is that applications will not be accepted unless the application uses an SDK with an API level of 33 or higher.


The app's API level is defined in buid.gradle


minSdkVersion

The minimum API level at which the app will work


targetSdkVersion

API level at which the app is designed to run



How to update API level

So, to update the API level, you need to edit

\flutter\packages\flutter_tools\gradle\flutter.gradle

( It seems that directly editing build.gradle does not work)




Recent Posts

See All

Comments


category

Let's do our best with our partner:​ ChatReminder

iphone6.5p2.png

It is an application that achieves goals in a chat format with partners.

google-play-badge.png
Download_on_the_App_Store_Badge_JP_RGB_blk_100317.png

Let's do our best with our partner:​ ChatReminder

納品:iPhone6.5①.png

It is an application that achieves goals in a chat format with partners.

google-play-badge.png
Download_on_the_App_Store_Badge_JP_RGB_blk_100317.png

Theme diary: Decide the theme and record for each genre

It is a diary application that allows you to post and record with themes and sub-themes for each genre.

google-play-badge.png
Download_on_the_App_Store_Badge_JP_RGB_blk_100317.png
bottom of page