android - How to regenerate build.gradle file after deleting -
i got error android project: gradle project sync failed error
, , searched solution here. however, deleted wrong file(build.gradle instead of .gradle in user home directory). how generate build.gradle file in android studio again?
open ide , create file called build.gradle
in root folder if deleted top-level file, or inside module if deleted it.
it text file have write script.
you can copy standard configuration, copying new project. of course have customize file dependencies , configuration.
Comments
Post a Comment