Reputation: 493
I tried different solutions proposed here in StackOverFlow but unfortunatly doesn't work any of that idea/suggestion.(for example: Android 4.2.2 USB debugging "Always allow from this computer" option result in target unknown for device?)
I have macbook with the new Android Studio 3.0.1 and I'm trying to connect my device Huawei P10 in developer mode.
The device is somenthing receiving the RSA fingerprint from my Mac but if I do "Always allow from this computer" is still showing and not "trusting" the device.
I tried to restart adb and clean the .android/adbkey* files but not working.
Using another device Huawei Honor it's working fine.
Can you please help me to fix?
thanks
UPDATE: when I do enable USB debug I see logs moving but finishing in offline the device and this is the most recurrent message: G.ContextMap:Context not found for ID
UPDATE 2: 12-21 10:15:57.037 4859-19947/? E/Bth: BtOppRfcommListener:Error accept connection java.io.IOException: read failed, socket might closed or timeout, read ret: -1 12-21 10:15:57.369 1038-1038/? I/TrafficMonitor: expired arrive. level:-1 12-21 10:15:57.369 1038-1038/? I/TrafficMonitor: during_ms:2006,period_ms:2000 12-21 10:15:57.369 1038-1038/? I/TrafficMonitor: count:233,rx_sum:0,tx_sum:0,rxBytes:0,during_ms:2006,rx_speed:0.0,tx_speed:0.0,rto:0.0 12-21 10:15:57.539 4859-19947/? E/Bth: BtOppRfcommListener:Error accept connection java.io.IOException: read failed, socket might closed or timeout, read ret: -1 12-21 10:15:57.660 1641-1641/? I/NetworkSpeedManagerEx: mIsStop = false 12-21 10:15:57.666 1641-1641/? I/NetworkSpeedManagerEx: value=0.0speed = 0K/s 12-21 10:15:57.666 1641-1641/? I/NetworkSpeedView: /update(), speed=0K/s parent class:class com.android.systemui.statusbar.HwSystemIcons 12-21 10:15:57.694 1641-1641/? I/NetworkSpeedManagerEx: mIsStop = false 12-21 10:15:57.700 1641-1641/? I/NetworkSpeedManagerEx: value=0.0speed = 0K/s 12-21 10:15:57.701 1641-1641/? I/NetworkSpeedView: /update(), speed=0K/s parent class:class com.android.systemui.statusbar.HwSystemIcons 12-21 10:15:58.040 4859-19947/? E/Bth: BtOppRfcommListener:Error accept connection java.io.IOException: read failed, socket might closed or timeout, read ret: -1
Upvotes: 2
Views: 3201
Reputation: 493
finally fixed. checking on internet I wasn't the only one had that issue on P10 and P10plus or P9lite. you need to: 1) have a good and original hi quality usb cable 2) set into the setting the USB configuration into RNDIS(USB Ethernet) that's fixed
Upvotes: 2
Reputation: 419
It seems you only enabled Developer Options but did not enable USB debugging.
Please go to setting and check USB debugging option in Developer Options.
Upvotes: 1