Connecting Samsung S7 to AndroidStudio

谁说胖子不能爱 提交于 2019-12-25 18:25:17

问题


I like to start my app directly on Samsung S7 with AndroidStudio.

I have already enabled debugging mode in the developer option by tapping 7 times on build number, but still I don't see the device when starting the app and getting the "Select Deployment Target" Dialog.

What else do I have to do ?


回答1:


In developer options at bottom of setings menu, ensure USB debugging is ticked. Then start again, restart windows and S7 to make sure and try again. With one of my devices, tapping seven times enabled developer mode, but the debugging options was not selected by default and had to be manually selected from developer options after they were enabled.




回答2:


Install necessary drivers from this site. Then connect your device with debugging enabled, your device will prompt a dialog for permission, click ok.




回答3:


If you are using windows, i have sometimes needed to "reconnect" the device. Particularly when switching between the device and emulator.

To do that, find the folder in the sdk that you have downloaded for adb.exe In that folder, start up a command prompt and try "adb reconnect". This usually works for me. Sometimes, I have also had to revoke the debugging permissions and then reenable them from the developer settings on the phone...

Note that this S7 Is the most problematic phone I have with this issue. I have about 6 other development phones, and this is the worst for connection issues. Otherwise, I think the phone is great.



来源:https://stackoverflow.com/questions/44984564/connecting-samsung-s7-to-androidstudio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!