开发者

Android: building different versions of my app (free, premium, etc.) with Eclipse

With my current code base I'd like to build two or more different versions of my Android app (free, premium, ...). For the iPhone (XCode) I can开发者_如何学编程 definte different targets. Is there something similar implemented in Eclipse?


I don't think there's such functionality in Eclipse (or the Android plug-in for it). Though using ant you should be able to achieve this.


For my builds I have set up in Eclipse my projects using Maven and the maven-android-plugin. This allows you to depend on the apksources of other projects and override the code and resources of them.


You could use Library projects - supported in Eclipse - here http://developer.android.com/guide/developing/projects/projects-eclipse.html#SettingUpLibraryProject

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜