Adb install failure: INSTALL_CANCELED_BY_USER

后端 未结 20 1880
执笔经年
执笔经年 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 08:54

    I had the same problem before. Here was my solution:

    1. Go to Setting → find Developer options in System, and click.
    2. TURN ON install via USB in the Debuging section.
    3. Try Run app in Android Studio again!

提交回复
热议问题