bintray
How to use the latest gradle version in Android Studio
com.android.tools.build:gradle is android’s plugin for gradle. It is not the same as gradle distribution. See here for release/version information of gradle android plugin: https://maven.google.com/web/index.html?q=gradle#com.android.tools.build:gradle To change the gradle version that the plugin uses, edit the file: <Project>/gradle/wrapper/gradle-wrapper.properties and change this line to the gradle verison you want: distributionUrl=http\://services.gradle.org/distributions/gradle-2.12-all.zip Then rebuild your project. Do keep in … Read more
Could not find method jcenter() for arguments [] on repository container
Just to summarize the discussion in comments: Gradle added jcenter() shortcut in version 1.7. Any version prior to it will fail with this exception. You can still work with jcenter by adding it as a normal maven repo: repositories { maven { url “https://jcenter.bintray.com” } …. }
Could not determine java version from ‘9.0.1’
This issue was in gradle version lower than 4.3, so update your gradle.properties to 4.3 or above: distributionUrl=https\://services.gradle.org/distributions/gradle-4.3-all.zip Why this error occur?: Because of you have different JDK on your system than your android-studio JDK version. Therefore your JDK should be compatible with each other, and by following this way you can manage that: File … Read more
Could not GET ‘play-services-location/maven-metadata.xml’. Received status code 502 from server: Bad Gateway
The problem is that a plugin (location in this case) didn’t specify a fixed version of an Android library. So in order to find which versions are available, Gradle must go to the repository to check. In this case, that repository is Bintray, which has been down for days and returning HTTP 502 Bad Request. … Read more
What is the difference between JFrog Artifactory and Bintray?
Thanks for the question, it’s a good one! The main difference between artifactory and bintray is in the intended usage. Artifactory is a development-time tool, while Bintray is a release, distribution-time tool. It might look like a subtle difference, but it has a great impact on the feature set of the products: For development, you … Read more
No service of type Factory available in ProjectScopeServices
Change maven gradle plugin version to 1.4.1 in project build.gradle file dependencies { classpath ‘com.android.tools.build:gradle:2.2.2’ classpath ‘com.github.dcendents:android-maven-gradle-plugin:1.4.1’ }