If we have an Android project which does not have a build.xml, then we can generate a build script by running the below command.

1. Navigate the android project root directory

2. Update the project to generate the build file

android update -p .