Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Gradle failed to sync with support library 24.2.1 #8

Closed
tzutoo opened this issue Sep 13, 2016 · 5 comments
Closed

Gradle failed to sync with support library 24.2.1 #8

tzutoo opened this issue Sep 13, 2016 · 5 comments

Comments

@tzutoo
Copy link

tzutoo commented Sep 13, 2016

After upgrading to support library 24.2.1, the Android Studio 2.2(RC) reports "Failed to resolve: com.android.support:appcompat-v7:24.2.0".

build.gradle

@BenedictP
Copy link

Google deleted the 24.2.0 Version from the repos. But they will restore it: https://www.reddit.com/r/androiddev/comments/52m6ac/android_support_library_revision_2421_released/d7lptza

@tzutoo
Copy link
Author

tzutoo commented Sep 14, 2016

@BenedictP Thanks for your information.

R38 is released and 24.2.0 is restored.

@tzutoo tzutoo closed this as completed Sep 14, 2016
@tzutoo
Copy link
Author

tzutoo commented Sep 14, 2016

As per Android Framework Team's suggestion (changelog), please consider support 24.2.1.

[EDIT]
Added a temporary fix
for Android support library 24.2.1 (4 aar files)

@tzutoo tzutoo reopened this Sep 14, 2016
@li9ht
Copy link

li9ht commented Sep 19, 2016

def thirtyinchVersion = '0.7.1'
    compile ("net.grandcentrix.thirtyinch:thirtyinch:$thirtyinchVersion"){
        exclude group:"com.android.support"
    }
    compile ("net.grandcentrix.thirtyinch:thirtyinch-rx:$thirtyinchVersion"){
        exclude group:"com.android.support"
    }
    compile ("net.grandcentrix.thirtyinch:thirtyinch-plugin:$thirtyinchVersion"){
        exclude group:"com.android.support"
    }
    testCompile ("net.grandcentrix.thirtyinch:thirtyinch-test:$thirtyinchVersion"){
        exclude group:"com.android.support"
    }

this is what i did.. exclude the sopport lib from the lib ..

passsy pushed a commit that referenced this issue Sep 19, 2016
Google recommends the upgrade:

> We do, however, recommend using 24.2.1 over 24.2.0 as it contains a number of bug fixes.
https://www.reddit.com/r/androiddev/comments/52m6ac/android_support_library_revision_2421_released/d7lptza

#8
@StefMa
Copy link
Contributor

StefMa commented Sep 20, 2016

Closed since #11 is merged

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

5 participants