Instant Run is disabled for non-debug variants

简介: Instant Run is disabled for non-debug variantsError running app: Cannot debug application from module app on device huawei-eva_al00-PBV0216708004833.

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
    }
相关文章
|
12月前
|
数据库 数据库管理
【异常解决】svn报“Previous operation has not finished; run ‘cleanup‘ if it was interrupted”的错误解决方案
【异常解决】svn报“Previous operation has not finished; run ‘cleanup‘ if it was interrupted”的错误解决方案
385 0
|
测试技术
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
97 0
|
网络安全 开发工具
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
971 0
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
Unknown run configuration type AndroidRunConfigurationType的解决办法
Unknown run configuration type AndroidRunConfigurationType的解决办法
103 0
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法
246 0
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法
|
前端开发 Shell
React Native:Debugger and device times have drifted by more than 60s. Please correct this by running adb shell "date `date +%m%d%H%S`"
问题 Debugger and device times have drifted by more than 60s. Please correct this by running adb shell "date `date +%m%d%H%M%T.
3932 0
下一篇
无影云桌面