i have and android project with a flag that depending on its value the functionality of the applicaiton changes. the thing is I want to have two apks (the two functionalities) on the phone, so how is it possible to have the 2 apks on the same phone regards,
Asked
Active
Viewed 96 times
-2
-
1Do you know how to use product flavours in android studio ? – M D Jul 13 '16 at 07:02
-
no, is there a link or something?? – Hussein Yassine Jul 13 '16 at 07:02
-
Do you mean this ? http://stackoverflow.com/questions/16804093/android-studio-rename-package – Sreehari Jul 13 '16 at 07:03
-
Not possible you should create different projects and build them extra – Gulmuhammad Akbari Jul 13 '16 at 07:04
-
thanks guys this is what i needed – Hussein Yassine Jul 13 '16 at 07:05
-
Yes it is possible. You have to add module into your main project. – Onkar Nene Jul 13 '16 at 07:06
-
I recommend you to use android studio, Check this - http://stackoverflow.com/questions/16601299/how-to-create-a-library-project-in-android-studio-and-an-application-project-tha – Onkar Nene Jul 13 '16 at 07:07
1 Answers
0
That's not possible. I suggest you to have 1 apk, 1 starter activity that starts the right behavior depending on the value of the flag!

Luca Nicoletti
- 2,265
- 2
- 18
- 32
-
not possible, the changes are within the same activity and 2 apks are needed – Hussein Yassine Jul 13 '16 at 07:03
-