开发者

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

开发者 https://www.devze.com 2022-12-23 15:52 出处:网络
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 so

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

精彩评论

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

关注公众号