Build an android project from the command line

I would like to create an android project from the command line on Linux. The following files and directories are located in the root directory of the project:

AndroidManifest.xml build.xml default.properties res/ src/

Can you provide a sample Makefile how to build this project?

+4
source share
2 answers

Is "ant" set? Try ant debug

+4
source

The build.xml file is entered into the Ant program, which will build your project. Use "ant build"

+3
source

Source: https://habr.com/ru/post/1306453/


All Articles