Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: no value has been specified for this provider

When first time opening a Android project that is completely cloned from Gitlab by AndroidStudio ,I met this "Gradle sync issue -- error: no value has been specified for this provider." problem Tips , Anybody has seen this ? what shall I do to fix it ? Any help would be appreciated

like image 999
TaxiDriverSantos Avatar asked Oct 29 '19 08:10

TaxiDriverSantos


2 Answers

I solved this issue by opening Gradle Scripts > settings.gradle remove include ':app' and then open Files > and Sync project with gradle files .

then again open Gradle Scripts > settings.gradle and add include ':app' and then open Files > and Sync project with gradle files .

This worked for me .

like image 173
S_i_l_e_n_t C_o_d_e_r Avatar answered Oct 05 '22 08:10

S_i_l_e_n_t C_o_d_e_r


This Problem is coming because your App is supporting a lower version of SDK and in Android Studio You installed the higher version, which means if you cloned or download the app from GitHub then might be you faced this issue. solution is- go to Android Studio settings->Android SDK-> and check the lower version in which your Project is supported

like image 34
Prachi Kumari Avatar answered Oct 05 '22 08:10

Prachi Kumari