D
D
dimasik1002002018-05-05 20:45:21
Java
dimasik100200, 2018-05-05 20:45:21

How to fix error with build.gradle?

Updated Andoid Studio to 3.1, however, when opening old projects or creating new ones, an error pops up.

sync failed	48s 267ms
Starting Gradle Daemon	5s 651ms
Run build	19s 661ms
Load build	10s 891ms
Configure build	7s 843ms
Load projects	928ms
rootProject	480ms
Configure project :	6s 388ms
Apply plugin org.gradle.help-tasks	36ms
Apply script build.gradle	6s 273ms
Resolve dependencies of :classpath	5s 896ms
Download https://jcenter.bintray.com/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.pom	4s 716ms
Download https://dl.google.com/dl/android/maven2/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.pom	156ms

Line highlighted in red
Download https://jcenter.bintray.com/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.pom	4s 716ms

How to fix it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question