user1796260
user1796260

Reputation: 297

Android How to have two different version of my application

I'd like to know if there is a way to have two version of our application on the same device.

The purpose is to have the one using our production api to use it normally while having one we could deploy inside our team using our test api without having to uninstall the production one?

We are deploying production through the playstore and for the moment we are using Crashlytics to deploy in intern. If we could keep using this tools it would be great.

If you have any idea?

Regards,

Upvotes: 2

Views: 698

Answers (2)

Surya Prakash Kushawah
Surya Prakash Kushawah

Reputation: 3201

You can use build variant in android studio. Go project architecture and add flavor and set diifrent value according to need
http://tools.android.com/tech-docs/new-build-system/user-guide https://developer.android.com/studio/build/build-variants.html

Upvotes: 2

Developer
Developer

Reputation: 183

Yes there is a way to do this i.e. product flavors. Here is the android guide lines for this purpose.

Upvotes: 3

Related Questions