

Yes | sdkmanager -licenses & sdkmanager -update

Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use -status for detailsĪ problem occurred configuring project ':app'. 4 hours ago it worked fine but from 20min ago it says same thing. Run with -info or -debug option to get more log output. Run with -stacktrace option to get the stack trace.

To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.Īlternatively, to transfer the license agreements from one workstation to another, see Platforms android-28 Android SDK Platform 28 > Failed to install the following Android SDK packages as some licences have not been accepted. Warning: License for package Android SDK Platform 28 not accepted.Ī problem occurred configuring project ':core'. Or is there anything I could add to my build.My circleCI set up for android has been successfully running for several weeks now, but suddenly today all builds are failing with the following: > Configure project :coreĬhecking the license for package Android SDK Platform 28 in /opt/android/sdk/licenses I think if I knew what Gradle was looking at, or checking, I might get a handle on how to solve the issue. I’ve tried using different Gradle versions, and the same thing is happening.Īlso, it seems to be happening mostly with the newer “platforms android-28”, it was working fine with earlier API targets. I’m doing: sdkmanager -licenses and accepting them all,Īnd it’s responding with “All SDK package licenses accepted.”īut when I try to do the gradle clean, it keeps getting that error message. I think that part of, or THE problem, is that the Android SDK’s sdkmanager isn’t properly handling the license agreements. What exactly is Gradle looking at, that’s telling it that one, or more, of the license agreements haven’t been accepted? This is after I try to do a gradle clean from the command line using:Ĭ:\Dev>SET ANDROID_HOME=C:/android-sdk&SET PATH=C:/gradle-4.0/bin %PATH%&SET JAVA_HOME=C:/Program Files/Java/jdk1.8.0_31&cd C:/Android/dev/ProgramName&gradle clean

īefore building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager. You have not accepted the license agreements of the following SDK components: I’d like to know, from the Gradle build perspective, why I’m getting
