Do I need to uses always the last targetSdkVersion?

前端 未结 3 1209
醉梦人生
醉梦人生 2021-01-04 08:16

Simple question: In Eclipse \"New Android project\" command always tries to uses last available sdk. Is it always a good idea?

UPDATE:

I try

3条回答
  •  半阙折子戏
    2021-01-04 08:47

    What could I do very wrong with this choice?

    There is nothing wrong with this choice, which is why the build tools default to it.

    Setting the targetSdkVersion opts you into specific behaviors that you might not get with an older targetSdkVersion. You can see some of what you get by reading the documentation for Build.VERSION_CODES.

提交回复
热议问题