How to have both Debug and Release apk on same device?

后端 未结 5 731
眼角桃花
眼角桃花 2021-02-12 03:46

While continuing to develop my application and test it on a real phone, I need to have the release version of it on the same phone, for demonstration purposes (

5条回答
  •  庸人自扰
    2021-02-12 04:40

    Could you put all your code in a Library Project and then just have two normal projects, that have different package names and just include the library project in both?

    This should keep all your code in one place. The normal projects would most likely only need a valid manifest file that points to the activities in the library project.

提交回复
热议问题