Compiling demo/final versions of android application for Android Market

最后都变了- 提交于 2019-12-25 00:37:31

问题


Right now I've finished an application that I want to distribute on Android Market. It will have a payed version and a free version with some limited features. While developing it, I was doing obviously just the main project of fully featured release. And now after finished I've included a "boolean" DEMO_VERSION=true that restrict those features.

My question is if it's possible to generate both apk from the same project? Or should I create new project with the same source but changing the java package to tell android market that they're two different applications.

Thank you very much


回答1:


Here's a good article on exactly that question: http://ulrichscheller.blogspot.com/2009/10/android-deploying-multiple-targets-from.html



来源:https://stackoverflow.com/questions/4073001/compiling-demo-final-versions-of-android-application-for-android-market

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