Build Failed, Sync Failed

Discussion in 'Technical Discussion' started by Shamrock, Nov 28, 2018.

  1. Shamrock

    Shamrock Boxer

    Joined:
    Sep 9, 2018
    Messages:
    34
    Likes Received:
    4
    Hi all, I recently purchased a new Mac and now I'm having problems building an APK I keep getting the following errors on the new computer.

    I tried making a build on my old laptop with the same settings and the build works fine. The problem is only on the new computer.

    I followed Zacks video on how to video on youtube and I have downloaded all the required SDKs.

    Has anyone here experienced the same problem?

    Thank you all in advance.

    Screen Shot 2018-11-28 at 5.53.58 PM.png Screen Shot 2018-11-28 at 5.53.42 PM.png
     

    Attached Files:

    Last edited: Nov 28, 2018
  2. Janing

    Janing Boxer

    Joined:
    Nov 9, 2018
    Messages:
    6
    Likes Received:
    2
    Your build setting should be like this:


    Code:
    buildscript {
        repositories {
            google()
            jcenter()
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:3.0.0'
        }
    }
    
    allprojects {
        repositories {
            maven {
                url "https://maven.google.com"
            }
            jcenter()
        }
    }
     
  3. Shamrock

    Shamrock Boxer

    Joined:
    Sep 9, 2018
    Messages:
    34
    Likes Received:
    4
    Worked perfectly thank you! :D
     

Share This Page