Hardware Setup - Select Your Android Device : adb.exe has stopped working

7 views (last 30 days)
Hi,
I have been trying to setup the android hardware with androidhwsetup.
The process goes ok until I have to select the device (a samsung A2017). There is simply no option showing the phone, and when I press
the refresh button, I get the adb.exe window showing message "adb.exe has stopped working" (see the picture attached, also to understand the
stage of hardware setup where I get blocked).
I have also tried with a different samsung phone and a different model, but again there is no model to select. Sometimes I manage not to get the adb.exe error message, but still no device is available to be selected.
Note that all previous steps of setting developer mode on the phone, allowing for USB debugging mode, and accepting exchange of data with PC have been done.
Any idea for a solution?
Thanks in advance!

Answers (1)

Sruthi Yenugula
Sruthi Yenugula on 13 Mar 2019
Restart your PC and try the hardware setup again. Still if your facing the same issue, contact technical support for quick resolution.
  3 Comments
Sruthi Yenugula
Sruthi Yenugula on 14 Mar 2019
Hi Mauro,
Thanks for your patience. Can you please try the following
Use a different USB cable and check, if that doesn't work, do the following
1) Uninstall the Android Studio
2) make sure, you delete the following folders, replace <username> with your username
C:\Users\<username>\.android
C:\Users\<username>\AppData\Local\Android\Sdk
3) Install Android studio and try Hardware setup again.
Mauro Fusco
Mauro Fusco on 18 Mar 2019
Edited: Mauro Fusco on 18 Mar 2019
Hi Shruti,
Thank you for your support, and for the support of your colleagues. Unfortunately, the suggested actions did not bring to a solution, which may still be useful if the problem is experienced by other users. Myself, I have now changed laptop, and with that the hardware setup goes now smoothly. So, indeed a possible "solution" for other users is "try to change laptop"... hihi
Have a nice evening,
Mauro

Sign in to comment.

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!