Home > Software design >  Could not find com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5
Could not find com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5

Time:04-02

Facing issue while running the android application on windows. It might be issue in "classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'". But same application is running properly on mac. How to fix this issue?

error image:

Click here to see error image

CodePudding user response:

Try this:

  1. Save the "app"-folder of your protect

  2. File -> Invalidate Caches -> Clear file system cache and local history -> Invalidate and Restart

  3. Gradle (top-right) -> Window opens -> Click on the gradle icon in the top-left -> enter "gradle clean"

CodePudding user response:

As Blundell pointed out in his comment, Bintray is dead and you should probably get rid of that plugin completely. If I remove gradlePluginPortal() from the repositories, then I can reproduce the issue. This makes sense since we're talking a plugin here. To resolve your problem, just add gradlePluginPortal() to the repositories block in your main gradle file:

    repositories {
        gradlePluginPortal()

It likely works on your Mac because it's locally cached, although I could not reproduce that behavior.

  • Related