Android: How to build two different apps (with different namespaces) from one sources
-
04-07-2021 - |
Question
Currently I have one Android application "com.mysite.MyApp" in the Eclipse. I need to make two apps ("com.mysite.App1" and "com.mysite.App2") from sources of "com.mysite.MyApp", depending on some "configuration" class constants. I need to do it in the Eclipse, or, using the apache ant.
Solution
Turn com.mysite.MyApp
into a library project containing all the common code, and have two separate app projects for App1 and App2 which refer to it.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow