2

Could not find manifest-merger.jar (com.android.tools.build:manifest-merger:26.1.0). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/manifest-merger/26.1.0/manifest-merger-26.1.0.jar

Already tried the solution :Could not find manifest-merger.jar (com.android.tools.build:manifest-merger:26.1.2) error after gradle 4.4 upgrade but no success.

Can anyone plz help me out

My support libraries having same number of version

 implementation 'com.android.support:appcompat-v7:27.0.2'
 implementation 'com.android.support:cardview-v7:27.0.2'
 implementation 'com.android.support:design:27.0.2'
 implementation 'com.android.support:recyclerview-v7:27.0.2'
Android Guy
  • 573
  • 1
  • 8
  • 18

2 Answers2

22

in my case change:

buildscript {
repositories {
    jcenter()
    google()
    mavenCentral()
  }
}

TO:

buildscript {
repositories {
    google() //<--Google first
    jcenter()
    mavenCentral()
  }
}

it works. wtf!

yoAlex5
  • 29,217
  • 8
  • 193
  • 205
heng li
  • 315
  • 2
  • 10
1

Work for me:

  1. close project (!)
  2. gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
  1. build.gradle:
dependencies {
    classpath 'com.android.tools.build:gradle:3.0.1'
}
  1. google() above:
repositories {
    google()
    jcenter()
}
  1. open project and sync
Leonid Ivankin
  • 579
  • 4
  • 9