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
    }
相关文章
|
6月前
|
编译器
“Could not determine which ”make“ command to run. Check the ”make“ step in the build configuration.”
“Could not determine which ”make“ command to run. Check the ”make“ step in the build configuration.”
Error running Application. Command line is too long.
【2月更文挑战第2天】Error running Application. Command line is too long. 问题处理
|
7月前
|
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“.
1538 0
问题解决:Try to run this command from the system terminal. Make sure that you use the...
问题解决:Try to run this command from the system terminal. Make sure that you use the...
|
测试技术
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
loadrunner 运行脚本-Run-time Settings->General->Additional attributes设置
102 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.
1056 0
【解决方案】A session ended very soon after starting. Check that the command in profile “XXX” is correct.
Idea运行报错Error running ‘Application‘: Command line is too long的解决方法
Idea运行报错Error running ‘Application‘: Command line is too long的解决方法
203 0
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
577 0
‘Client‘ is not allowed to run in parallel.Would you like to stop the running one?
|
前端开发 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.
3941 0