Adb install failure: INSTALL_CANCELED_BY_USER

后端 未结 20 1727
执笔经年
执笔经年 2020-12-02 08:28

I try to install app via adb and get a error:

$ ./adb -d install /Users/dimon/Projects/one-place/myprogram/platforms/android/build/outputs/apk/android-debug.         


        
相关标签:
20条回答
  • 2020-12-02 09:00
    1. Disable "Verify apps over USB" option under developer mode and try to install again .It should work as pointed out in link https://stackoverflow.com/a/29742394/2559990.
    0 讨论(0)
  • 2020-12-02 09:05

    I tried all the steps described above but failed.

    Like, connect to the internet with Data connection, Turning off the MIUI optimization and reboot, Turning on Install via USB from Security settings etc.

    Then I found a solution.

    Steps:

    • Install PlexVPN.
    • set China-Shanghai server
    • Try turning on Install via USB from Developer option.

    That's all.

    0 讨论(0)
提交回复
热议问题