-3

What does the number 22 in the file build.gradle mean - com.android.support:appcompat-v7:22.2.1?

Part file build.gradle

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:22.2.1' testCompile 'junit:junit:4.12' }
  • [refer this](https://stackoverflow.com/questions/18271429/difference-between-android-support-v7-appcompat-and-android-support-v4/49167045#49167045), you will get the answer.it is revision number of support library. – Farhana Naaz Ansari Aug 11 '18 at 06:06
  • Possible duplicate of [Difference between android-support-v7-appcompat and android-support-v4](https://stackoverflow.com/questions/18271429/difference-between-android-support-v7-appcompat-and-android-support-v4) – JMP Aug 11 '18 at 07:33

1 Answers1

0

v22 is the api level. com.android.support:appcompat-v7:22.2.1 is the support library for Android Lollipop 5.1

Arnab Kar
  • 1,137
  • 1
  • 9
  • 22