在build.gradle设置debug与release版本的包名,即可实现版本共存。android {
buildTypes {
debug{
...
android 实现debug与release版本共存