Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - Error:A prblem occurred configuring project ':app'

my laptop suddenly got switched off while code was compiling. and the files where i had made changes got corrupted. i fixed them again and this is the error i got while compiling.

can anybody help me figuring out what this is?

Failed to deserialize script metadata extracted using org.gradle.groovy.scripts.internal.SubsetScriptTransformer for build file '/home/viraj/TutsTry/Airfollow/app/build.gradle'

like image 907
Veer3383 Avatar asked Sep 26 '15 08:09

Veer3383


2 Answers

Simply Solve like this

Project -> Open Module Settings -> SDK Location -> Android NDK location: Remove the location path and click 'OK'

Rebuild Again

like image 95
Srikanth M Avatar answered Oct 08 '22 17:10

Srikanth M


Try to remove or add something to the build.gradle file that should force it to resync and update dependencies.
I had such problem after working sometime in offline mode, not exactly Offline mode from the gradle menu, but without internet connection

like image 39
CROSP Avatar answered Oct 08 '22 17:10

CROSP