when upgrading to android-studio 3.4.x/gradle build plugin 3.4.x /gradle 5.3 ... wondering if its an issue with the android plugin.
ERROR: No value has been spe
Could be missing Java JDK, might want to check tha
for my case it was because some sdk licenses were not accepted. i figured it out when i ran the gradlew through the command line. the link below shows you how to accept all the licenses through sdkManager tool.
You have not accepted the license agreements of the following SDK components
In my case, I haven't installed compileSdkVersion
supported SDK.
eg: If you have mentioned your compileSdkVersion 28. make sure it is installed in your SDK manager. Install it if you don't have it already.
Mac OS - Click Android Studio > Preferences > Experimental then you have to uncheck - Only sync the active variant.
Windows - File > settings > Experimental then you have to uncheck - Only sync the active variant.
This happened to me when I got a new laptop and did a fresh install of Android Studio.
I solved this by installing the proper Android SDK version that my project targets. Only API 29 was installed on my new machine when doing a fresh install of Android Studio, but my project targets API 28.
Open the SDK manager and download the proper Android SDK for your app and this error should resolve itself.
start Android Studio by "Run as Amdinistrator"