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

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -