how to Change my app's target API level from 23 to 26

Mahrez picture Mahrez · May 18, 2018 · Viewed 25k times · Source

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!

Answer

Subrata picture Subrata · May 18, 2018

Steps:

  1. Go to File >Project Structure.
  2. select App Module in left panel
  3. select Flavour tab from the top menu tabs
  4. You can change the Min SDK version (In your case change Target SDK Version to 26)
  5. Click Ok

Reference: http://abhiandroid.com/androidstudio/change-api-sdk-level-android-studio.html