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
In my case the problem was I opted in for incremental option
To solve the problem
open gradle.properties
file and remove line
kapt.incremental.apt=true //remove or comment this line
On clean PC installation I tried every trick here and nothing worked. I noticed there was logged message that licence was not accepted. I opened SDK manager, downloaded some packages that prompted me to accept licence and it started to sync.
I just upgraded to AS 3.4 and had the same issue. This occurs when cold starting the application. Build > Make Project
works fine, as does building from the command-line.
Same with @user3407078 answer.
In my case. This is due the Android Studio 3.5 updates, and I haven't installed or accepted the license & agreement for the build tools & SDK platform 29.
Checking the license for package Android SDK Build-Tools 29.0.2 in ~/Library/Android/sdk/licenses
Warning: License for package Android SDK Build-Tools 29.0.2 not accepted.
Checking the license for package Android SDK Platform 29 in ~/Library/Android/sdk/licenses
Warning: License for package Android SDK Platform 29 not accepted.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> No value has been specified for this provider.
It is recommended to update the latest SDK tools & platform, in this case, version 29. Even we only develop the lower version, it is mandatory step to get working on your Android Studio.
EDITED:
gradlew
command-line task, please navigate here for the full explanation. thx @amir-ziarati