gradle sync failed: expected begin_array but was string at line 1 column 1 path $

Опубликовано: 21 Март 2026
на канале: Skyknow
16,160
93

Hi Hello friends have a nice day
if you faced below mentioned problem from android Studio


java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1

caused by: java lang illegalstateexception expected begin_object but was string at line 1 column 11

gradle sync failed: expected begin_array but was string at line 1 column 1 path $

Just do this

1.Go to build
then
2.Choose the "Clean Project"

then will gradle automatically restart

Then Error fixed
Thanks For watching, Please support our Channel