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.gradlein 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

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -