-2

I just downloaded Android Studio bundle v2.3.3 and in the Gradle console, I'm getting this error:

Failed to resolve: javax.annotation-api:1.2

At the top of the Android Studio, everything is underlined in red which includes src, main, java, com, example, and main activity.java.

Boghyon Hoffmann
  • 17,103
  • 12
  • 72
  • 170

1 Answers1

1

Check whether your computer is connected to the Internet or not. If yes, then I would suggest you to install all the sdk tools and the sdk platforms(at least the ones you're gonna use for the app) if you haven't already.

Chanchrik
  • 28
  • 7