Error:Application and test application id cannot be the same: both are 'cn.deu.bztc.happyidiom.activity' for debugAndroidTest
解决办法:
defaultConfig {
applicationId "xx.xx.xxx"
minSdkVersion 17
targetSdkVersion 23
testApplicationId "xx.xx.xxx"
testInstrumentationRunner "android.test.InstrumentationTestRunner"
}
testApplicationId "xx.xx.xxx"
testInstrumentationRunner "android.test.InstrumentationTestRunner"
}
把这个删除就Ok了 很简单的
testApplicationId "xx.xx.xxx"
testInstrumentationRunner "android.test.InstrumentationTestRunner"
}