Thanks -- I've come to the same conclusion. I was too quick to try out the library project when it was first released and stopped using it due to too many problems. But, it looks like the current support is pretty good, so I will switch back to it.
Cheers, Steve On Sun, Oct 17, 2010 at 6:04 PM, miniondev <[email protected]> wrote: > The ant rules in the latest version of the sdk tools seems to have > disallowed the usage of this. I believe the method that you're > intended to use for producing two versions of the same app is an > android library project. The idea being that you put nearly all of > your application code in a library project and include that library > project from two different application projects; one for the free > version, one for the paid version. Each of these application projects > need only contain the bare minimum of code required to differentiate > the free from the paid version. > > Note that the latest version of the sdk tools also allow android > library projects that depend on other library projects, so even if > your library project containing the bulk of your app code has another > dependency (such as the license verification code), you're good to go. > > That's how i've done it for my app anyway. > > On Oct 17, 1:02 pm, Flying Coder <[email protected]> wrote: > > I have an app with both a free & paid version. I have been using appt > > --rename-manifest-package from the command line to rename the package > > from one version to another. But, I would like to using ant to do > > builds. > > > > Anyone know how to use the rename-manifest-package option in an ant > > build? Sorry if this is a stupid question, but I am a complete novice > > when it comes to ant. > > > > Thanks a bunch! > > > > Steve > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- www.appventive.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

