Android App Compatibility Libraries

I recently got an Android project from a colleague, and was not able to compile due to the seemingly non-presence of

com.android.support:appcompat-v7

My Android environment is unfortunately, offline. Looking in the offline Android Lollipop SDK I realised that the library is in fact there.

Under

sdk>extras>android>m2repository>com>android>support>appcompat-v7

There was a listing of various versions of this library.
..
..
21.0.2
21.0.3

All I had to do was to modify the build.gradle file dependancies.

dependencies {
compile 'com.android.support:appcompat-v7:21.0.3
}

My friend had a later version, 21.1.something installed in his PC.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s