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
    }
相关文章
|
7月前
|
C++
C运行时库(C Run-Time Libraries)
C运行时库(C Run-Time Libraries)
C运行时库(C Run-Time Libraries)
|
测试技术
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
77 0
解决办法:nvidia-settings:ERROR: Unable to load info from any available system
解决办法:nvidia-settings:ERROR: Unable to load info from any available system
304 0
Unknown run configuration type AndroidRunConfigurationType的解决办法
Unknown run configuration type AndroidRunConfigurationType的解决办法
81 0
Idea运行报错Error running ‘Application‘: Command line is too long的解决方法
Idea运行报错Error running ‘Application‘: Command line is too long的解决方法
128 0
|
网络协议 Java 容器
【报错】项目启动,仅仅报错 One or more listeners failed to start. Full details will be found in the appropriate container log file
今天spring4.3.13 项目,整合ActiveMQ的时候,项目启动在自动部署到tomcat下的时候,不能正常的部署,仅仅报错如下: Connected to server [2017-12-08 03:57:12,428] Artifact springDemo:war exploded: Artifact is being deployed, please wait.
6168 0
|
Android开发
Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.
android studio 2.1.2  run提示错误信息:Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled. Instant Run requires 'Tools | Android | Enable ADB
1535 0