Please check the confirmation dialog on your device

后端 未结 3 810
你的背包
你的背包 2021-01-11 11:36

I am trying to connect adb device and it showing \"Please check the confirmation dialog on your device\" ..but there is no adb confirmation(rssi) dialog.

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-11 11:54

    For me, selecting the Revoke USB debugging authorizations would crash the entire Settings app. Here's a simple method that worked for me (I had root access to the device):

    The method is to simply copy your machine's adbkey.pub from the ~/.android/ directory, and put it into the Android device's sdcard (using Web or MTP) named as adb_keys, then copy the file into the correct path:

    # On the problematic device
    cp /sdcard/adbkey.pub /data/misc/adb/adb_keys
    

    (Note: there's a similar answer on SO that goes into further details for this method.)

    I have explained a bit more about this here, if anyone's interested.

提交回复
热议问题