T. Prasad T. Prasad -4 years ago 230
Android Question

Link to Android Support Library for download

I'm developing an app for gesture recognition which requires support library http://developer.android.com/training/gestures/detector.html

I want to import "

android.support.v7.app.AppCompatActivity
" in my
MainActivity.Java
file but I think it requires support library

Is there any link that allows to download Android Support Library SDK version 25?

Answer Source

You have these

dependencies {
    ...
    compile "com.android.support:support-core-utils:25.2.0" 
    compile 'com.android.support:appcompat-v7:23.0.1'
}

So, you are asking for SDK 25?

You need to update the 23.0.1 to match the other support libraries.

Best way to do that, would be Gradle extras.

Refer: https://segunfamisa.com/posts/android-gradle-extra-properties

ext {
    supportLibraryVersion = "25.2.0"
}

dependencies {
    ...
    compile "com.android.support:support-core-utils:$supportLibraryVersion" 
    compile 'com.android.support:appcompat-v7:$supportLibraryVersion'
}

Note: I don't think you need support wearable as well as the (normal) wearable package.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download