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月前
|
Unix Docker 容器
使用docker 启动naocs 报错出现:standard_init_linux.go:241: exec user process caused "exec format error"
```markdown Error in Docker container startup: "standard_init_linux.go:241: exec user process caused \"exec format error\"". Occurred at 2024-06-29 09:26:19.910, followed by a failed hook with a syslog delivery error at 09:27:20.193. Seeking solutions from experts. ```
|
8月前
|
NoSQL C语言
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
1624 0
Error starting ApplicationContext. To display the auto-configuration report re-run your application
Error starting ApplicationContext. To display the auto-configuration report re-run your application
|
测试技术
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
104 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.
1132 0
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
|
前端开发 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.
3949 0
|
关系型数据库 Java Linux
|
Java 关系型数据库 Linux
|
网络协议 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.
6341 0