Updating platforms and settings?

As Eclipse

we had:

  • minSdkVersion

    (which controls the lowest level you are talking about the application can run)
  • targetSdkVersion

    (which manages any automatically applied backward compatibility features - important if you haven't tested your app on the latest API yet).
  • Project build target (which is platform choice)

But after going to Android-Studio (1 / 1.02), there are many additional settings that I don't know. When should I use them each.

I will refer each to a number.

Question:

Take a look at the most commonly used platforms:

enter image description here

And assuming I want to set up JellyBean and KitKat: (most devices)

How to customize each numbered section in Android Studio Project Settings tabs:

In the tab properties

:

enter image description here

And from a tab Flavors

(what is a tab?):

enter image description here

1-  ?
2-  ?
3-  ? 
4-  ?
5-  ?
6-  ?

      

+3


source to share


1 answer


  • Compile SDK version is the same as "Project Build Target" in Eclipse.
  • Build Tools version - always use the latest version.
  • Initial Compatibility - Do you want to allow Java 7 features (or at least the limited set that Android has adopted, like the design <>

    ).
  • The same, but for the generated class files (be it Java 6 or Java 7 format).
  • Same as minSdkVersion in Eclipse (lowest Android version to support).
  • Same as targetSdkVersion in Eclipse (for compatibility).


As far as flavors are concerned, they are mostly build options (for example, you can include different implementations of the same class for debug / release, trial / full and c).

+1


source







All Articles