Question: can someone pleaseeee please help me in fixing this I have installed android studio on my mac. After installing, I simply created an application with

can someone pleaseeee please help me in fixing this

I have installed android studio on my mac. After installing, I simply created an application with an empty activity. No coding, nothing I implemented. Just checking my android studio. Tried to run that am getting these errors. Error: Read timed out FAILURE: Build failed with an exception. *What went wrong: A problem occurred configuring root project 'MyApplication'.

Could not resolve all artifacts for configuration ':classpath'. Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.3.1/builder-3.3.1.jar'. *Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more logout. Run with --scan to get full insights. -Get more help at https://help.gradle.org BUILD FAILED in 57s Read timed out

I have tried installing all the gradles, 3.3.1, 4.10.1, 3.5.1. I have changed the gradle version in build.gradle and installed all gradle versions and checked all. still its not working. am getting the same error. Earlier I got the unable to find the trusted certificate to requested target but solved that by adding the certificate to keystore. Now am unable to understand why this error is so difficult to fix. It's just an empty activity application with no implementation.

buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.3.1' } } allprojects { repositories { googlr() jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!