git - How to Organize Android App with Multiple Versions of Assets -


i have android app distributed in 2 (or more) brands. java code each distributions exactly same, different assets/resources (like layouts, drawables, dimensions, etc)

what best way organize project? using git version control, , trying keep distributions developed single project. can switch asset/resource sets different branding each time needed.

is there approach it?

gradle build variants allow have shared main codebase/resources , multiple variants custom resources/code associated each - can generate separate apk each variant. of course, using gradle android development requires use android studio (which in beta) well.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -