Reputation: 121
I have a problem when i try to upload my app to google play console and it is the API level that is must be 26 and my app is just developped with 23 version and now i don't know how to change this API version from 23 to 26 to make it works without errors.
Help me please!
Upvotes: 12
Views: 37625
Reputation: 523
In the latest version of Android Studio as of dated 2020, perform the following steps:
Click on Files (top left)
Go to Project Structure (Ctlr + Alt + Shift + S)
Click on modules
Done!
Upvotes: 5
Reputation: 3762
For those looking at this in Android Studio 3.5.3
Upvotes: 4
Reputation: 110
You can change minSdkVersion from 23 to 26, under "Gradle Scripts>>build.gradle(Module:app)".then sync
Upvotes: 0
Reputation: 182
Steps:
Reference: http://abhiandroid.com/androidstudio/change-api-sdk-level-android-studio.html
Upvotes: 11
Reputation: 1366
However, there is answer that answered by friend below, just want to inform that if changing the version of the API. You also need to consider the library from the build.gradle
app.
for example:
If you change the version, the default library file has to change to the version of your API version.
Example
implementation 'com.android.support:appcompat-v7:27.1.0'
with my API version 27
Upvotes: 3