Tuesday 15 January 2013

android studio - Wich is the support library that I have to choose? -



android studio - Wich is the support library that I have to choose? -

my application has minsdk @ 15 , targetsdk @ 20. need back upwards library because application uses pageviewer view.

reading documentation read back upwards library vx designed used on api level x. think version's number x should between 15 , 20.

how should take number?

secondly, using android studio have add together next line in file named build.grandle, using back upwards library v4.

compile 'com.android.support:support-v4:20.0.0'

what meaning of suffix 20.0.0?

the back upwards libraries have different revisions/versions. can check more info here

adding part in gradle file:

compile 'com.android.support:support-v4:20.0.0'

you telling gradle support-library-v4 revision 20.0.0.

about version should use. if compiling api20, can utilize revision 20.

android-studio android-support-library

No comments:

Post a Comment