-
-
Notifications
You must be signed in to change notification settings - Fork 736
Parse SDK 1.13.1 still uses OkHttp 2 #491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There is a problem with the jCenter release in that it seems to contain OkHttp2 still: https://bintray.com/bintray/jcenter/com.parse%3Aparse-android/1.13.1#files/com/parse/parse-android/1.13.1 The checksum does not match: wget https://bintray.com/bintray/jcenter/download_file?file_path=com%2Fparse%2Fparse-android%2F1.13.1%2Fparse-android-1.13.1-sources.jar
md5 download_file\?file_path\=com%2Fparse%2Fparse-android%2F1.13.1%2Fparse-android-1.13.1-sources.jar Result:
md5sum ./caches/modules-2/files-2.1/com.parse/parse-android/1.13.1/ef266d93357210b530c5b400e3d40de64fd86a0d/parse-android-1.13.1.jar Result:
The file hosted on Maven Central seems fine: md5sum parse-android-1.13.1.jar
e2c65c5ae20cbd196b83994a3522a1b1 parse-android-1.13.1.jar http://repo1.maven.org/maven2/com/parse/parse-android/1.13.1/parse-android-1.13.1.jar.md5 |
The workaround is to specify mavenCentral() over jCenter() as the preferred repo in your allprojects: allprojects {
repositories {
mavenCentral() // delete this line after Parse fixes
jCenter()
}
} You need to delete your Gradle cache possibly. I nuked the ~/.gradle/caches dir where I could find |
@rogerhu This also happens with the JAR file I downloaded from Parse.com. |
ping on this one again? |
I've confirmed that the build on JCenter is incorrect and that using Maven Central is the correct workaround. I've sent a message to JCenter to resolve this, but it's out of my hands as we only directly upload to Maven Central. If this is still occurring after a few days, I'd recommend to reach out to JCenter yourselves. @igokoro We're no longer updating parse.com with the latest artifacts and it seems you've downloaded 1.13.0 as 1.13.1 is not there. Please refer to Maven Central or this repository for future updates. |
I contacted jCenter and they have resolved: We appreciate your patience, we have resolved this issue. We believe the only way this could have occurred was that the offending jar was outdated in Maven Central for a brief period of time, during this time, Bintray cached the jar file. The cache has been cleared and this issue should not reoccur. |
Hi, What I have now is
and |
Release notes for Parse SDK v. 1.13.1 state that Parse SDK now uses OkHttp3. But this is not what I see in the 1.13.1 jar file. After decompilation I see that
ParseHttpClient
still usescom.squareup.okhttp
package to discover OkHttp - while OkHttp3 usesokhttp3
package. Looks like something went wrong with the 1.13.1 build and publishing.The text was updated successfully, but these errors were encountered: