您的位置:首页 > 移动开发

Error:Application and test application id cannot be the same: both are 'cn.deu.bztc.happyidiom.activ

2016-09-12 10:48 621 查看
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"
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐