The premium add-ons repository (which contains charts jars) requires username and password to download artifacts. When you start build tasks from Studio, it passes the credentials to Gradle automatically from your registration information. When you start Gradle from command line or other tools, you should provide username and password: