此应用程序的清单中未启用可调试属性 [英] This application does not have the debuggable attribute enabled in its manifest

查看:275
本文介绍了此应用程序的清单中未启用可调试属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法在设备samsung-gt_i9300-323020cfc86b804f上调试应用程序com.domain.test. 此应用程序的清单中未启用可调试属性. 如果您已在清单中手动设置它,则将其删除并让IDE自动分配它. 如果您使用的是Gradle,请确保您当前的版本是可调试的.

Cannot debug application com.domain.test on device samsung-gt_i9300-323020cfc86b804f. 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.

推荐答案

您的评论已经暗示了该帖子的答案,但是由于您没有选择答案,所以我将其写下来.

Your comment has already hinted the answer to this post but since you have not selected an answer I'll write it down.

从android studio左上角将构建变体从 release 更改为 debug .

Change build variant from release to debug from android studio left corner.

这篇关于此应用程序的清单中未启用可调试属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆