Is there a convention for maintaining both a free and pro app version from the same codebase in Eclipse?

帅比萌擦擦* 提交于 2019-12-12 09:19:20

问题


I am releasing two versions of an app--free and paid. The differences between the two are few, and I would like to release both using the same codebase (maybe a different constant defined for the other build?). Has anyone done this? Can someone point me in the right direction? Thanks!


回答1:


Use an Android library project, which was specifically designed for your free/paid scenario.



来源:https://stackoverflow.com/questions/4057728/is-there-a-convention-for-maintaining-both-a-free-and-pro-app-version-from-the-s

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!