[JIRA] (JENKINS-49290) Could not find com.android.tools.build:gradle:3.0.1.

3 views
Skip to first unread message

hongbinghp@163.com (JIRA)

unread,
Mar 20, 2018, 3:41:02 AM3/20/18
to jenkinsc...@googlegroups.com
hong bing commented on Bug JENKINS-49290
 
Re: Could not find com.android.tools.build:gradle:3.0.1.

mahesh ordex Can you tell me how to solve it? thanks

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

hongbinghp@163.com (JIRA)

unread,
Mar 20, 2018, 3:41:02 AM3/20/18
to jenkinsc...@googlegroups.com

Robert St. John   There is no problem with local compilation.

dubo_java@163.com (JIRA)

unread,
Aug 13, 2018, 8:27:02 AM8/13/18
to jenkinsc...@googlegroups.com
dub o commented on Bug JENKINS-49290

How?

This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

restjohn@gmail.com (JIRA)

unread,
Aug 13, 2018, 8:36:02 AM8/13/18
to jenkinsc...@googlegroups.com

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.

amitaggrawal95@gmail.com (JIRA)

unread,
Oct 4, 2018, 2:17:03 AM10/4/18
to jenkinsc...@googlegroups.com

mahesh ordex, Please tell how you solved this problem. I'm facing this same issue. Please help!

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

restjohn@gmail.com (JIRA)

unread,
Oct 4, 2018, 5:14:02 PM10/4/18
to jenkinsc...@googlegroups.com

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.

 buildscript {

    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.0'
    }
}

restjohn@gmail.com (JIRA)

unread,
Oct 4, 2018, 5:19:01 PM10/4/18
to jenkinsc...@googlegroups.com
Robert St. John edited a comment on Bug JENKINS-49290
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 }

 buildscript {

    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.0'
    }
}
{code}

restjohn@gmail.com (JIRA)

unread,
Oct 4, 2018, 5:19:02 PM10/4/18
to jenkinsc...@googlegroups.com

banshake@163.com (JIRA)

unread,
Nov 27, 2019, 8:37:04 PM11/27/19
to jenkinsc...@googlegroups.com
leo xue commented on Bug JENKINS-49290

can someone help?

I got this issue for some days!

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 }

}

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

banshake@163.com (JIRA)

unread,
Nov 27, 2019, 8:48:03 PM11/27/19
to jenkinsc...@googlegroups.com
leo xue edited a comment on Bug JENKINS-49290
can someone help?

I got this issue for some days!

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
}

}


 
* 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
Reply all
Reply to author
Forward
0 new messages