安卓错误 : Failure [INSTALL_CANCELED_BY_USER]

标签 android android-studio

当我尝试在我的设备而不是 Android 虚拟设备上运行应用程序时,它给出错误并停止运行。

在控制台上显示这些消息。

打开:权限被拒绝 pkg:/data/local/tmp/com.example.android.sunshine 失败 [INSTALL_CANCELED_BY_USER]

$ adb shell pm 卸载 com.example.android.sunshine 未知故障(Failure)

最佳答案

转到其他设置,然后选择通过 USB 安装

关于安卓错误 : Failure [INSTALL_CANCELED_BY_USER],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36838806/

相关文章:

android - APK:与版本号相关的 native 库名称问题 (SO.X.Y)

android - 不推荐使用 RegisterResGeneratingTask,使用 registerGeneratedFolders(FileCollection)

Android - 通过 Intent 将 html 文件发送到打印应用程序,不会显示为 html

android - GeckoView Android Pixel 2 错误

android - 包含卡片的 GridView 在 Flutter 中最后被修剪

java - 防止广告在后台展示 (Android Studio)

android - ViewPager 的 Fragments 消失了

Android Studio 3.5.2 - 错误 : The apk for your currently selected variant (app-release-unsigned. apk) 未签名

android - 返回使用位置的快捷键

java - 由 : java. util.zip.ZipException 引起:设置的代码长度无效