您的位置:首页 > 其它

Instant Run is disabled for non-debug variants

2017-04-07 15:00 417 查看

Instant Run is disabled for non-debug variants

Error running app:

Cannot debug application from module app on device huawei-eva_al00-PBV0216708004833.

This application does not have the debuggable attribute enabled in its manifest.

If you have manually set it in the manifest, then remove it and let the IDE automatically assign it.

If you are using Gradle, make sure that your current variant is debuggable.

buildTypes {
release {
//  TODO:打包发版时关闭
debuggable true
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐