Skip to content Skip to sidebar Skip to footer

How To Choose Target Api Level When Creating A New Project In Android Studio?

I am new to android development and Android Studio. I also have a physical device which runs android version 5.0.1. When I try to debug an app from Android Studio on my device I do

Solution 1:

There is no way to choose the target API level using the New Project wizard in Android Studio currently (1.4.1). It should always be the latest version available anyway.

From http://developer.android.com/intl/es/training/basics/supporting-devices/platforms.html#sdk-versions:

To allow your app to take advantage of these changes and ensure that your app fits the style of each user's device, you should set the targetSdkVersion value to match the latest Android version available.

To modify it after project creation just edit the targetSdkVersion value in your build.gradle file.

Post a Comment for "How To Choose Target Api Level When Creating A New Project In Android Studio?"