【发布时间】:2019-03-27 07:43:01
【问题描述】:
尝试通过 android studio 3.4 canary 1 运行 apk 时收到错误消息。
Gradle 插件版本com.android.tools.build:gradle:3.4.0-alpha01
Installation failed with message Failed to commit install session 526049657 with command cmd package install-commit 526049657.. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
我已尝试卸载 apk,重新启动 android studio 和设备并使缓存无效并重建,但似乎没有任何效果。
【问题讨论】:
-
这似乎是 android studio 3.4 canary 1 的问题,我恢复到 3.3 beta 1 并且一切正常。
-
我遇到了同样的问题,在这里找到了解决方案stackoverflow.com/a/42695197