[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 AllPhenomenon When I try to read the data in the database and display it in RecyclerView, nothing is displayed. When I set a breakpoint and...
Phenomenon I want to read data from the database and display it in a list with RecyclerView. There should be more than one registered in...
Phenomenon SQLiteDataBase is read by ContentProvider and listed in RecyclerView. Even if I update the contents of the database, it is not...
Comments