XueyueBai
  • 2
  • 新人请关照

Android 7.0 调用 adb install 报错 INSTALL_FAILED_VERSION_DOWNGRADE

android 7.0 调用 adb shell pm install -d -r 命令或者 adb install -d -r 命令安装低版本应用提示:

Failure[INSTALL_FAILED_VERSION_DOWNGRADE] 

有测试吗?目前本人已测7.0之前Android 是没问题可以通过。

阅读 2.7k
评论
    1 个回答
    云中的醉
    • 1
    • 新人请关照

    (-d: allow version code downgrade (debuggable packages only))

      adb install [-lrtsdg] <file>
          - push this package file to the device and install it
            (-l: forward lock application)
            (-r: replace existing application)
            (-t: allow test packages)
            (-s: install application on sdcard)
            (-d: allow version code downgrade (debuggable packages only))
            (-g: grant all runtime permissions)
    评论 赞赏
      撰写回答

      登录后参与交流、获取后续更新提醒