I would like an Android build system procedure, command line or Eclipse, to generate several .apk files from a single source codebase.
Asked
Active
Viewed 93 times
0
-
There is a similar topic already. This [link](http://stackoverflow.com/questions/7507784/multiple-android-application-package-apk-files-from-single-source-code) should help you. – IrishWhiskey Mar 11 '13 at 14:13
-
I saw that already but i couldn't help me. I need something more automatic and not just for two apps but 7 apps – Festus Tamakloe Mar 11 '13 at 15:52
1 Answers
0
Write a custom build script with various targets for each of your projects.
<target name="all" depends="project_1, project_2, project_3">
...
<target name="projetc_1">
<!-- build project 1 -->
...
<target name="projetc_2">
<!-- build project 2 -->
...
Take a look at this Ant tutorial if you don't know where to start, and/or take a look at IDE's generated Ant scripts.

Jean Waghetti
- 4,711
- 1
- 18
- 28