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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -