mahesh ordex, can you provide your solution for the others that seem to be having the same problem? dub o, if you post your Gradle scripts and Jenkins build log, I can take a look for you.
Posting your Gradle scripts would be helpful. Make sure you have the Google Maven repository in your top-level build script under the {{buildscript { ... }}} block, as the Android Developer documentation shows.
Posting your Gradle scripts would be helpful. Make sure you have the Google Maven repository in your top-level build script under the {{buildscript \{ ... }}} block, as the Android Developer [documentation shows|https://developer.android.com/studio/build/#top-level]. {code:java}
Used mac to create jenkins server,now we cannot even build an android demo.
here's my script
buildscript { repositories
{ google() jcenter() mavenCentral() }
dependencies
{ classpath 'com.android.tools.build:gradle:3.3.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }
// NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } }
* What went wrong: A problem occurred configuring root project 'AndroidPackageTest'. > Could not resolve all artifacts for configuration ':classpath'. > Could not download builder.jar (com.android.tools.build:builder:3.3.2) > Could not get resource ' [https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.3.2/builder-3.3.2.jar] '. > SSL peer shut down incorrectly