Can't See My Device Of Chrome://inspect/#devices
Answer :
Try these steps:
- Download and install Android SDK
- Open
SDK Manager.exe
- Select
Android SDK Platform-tools
and pressInstall packages...
- Open a command prompt and execute these commands:
cd C:\Program Files(x86)\Android\android-sdk\platform-tools
(orC:\Users\User\AppData\Local\Android\Sdk\platform-tools
)adb.exe devices
You should receive a response like this:
List of devices attached ABCDEFG123 device
If your device is listed check if Chrome detect the device, otherwise try to execute this command:
adb.exe kill-server
adb.exe start-server
adb.exe devices
Check again if Chrome detect the device.
If your device is not listed at all after executing adb devices
command there is something wrong in your configuration (e.g. incorrect or missing drivers?)
Hope this helps somebody else...
This happened to me because I was trying to Chrome inspect a release build (Ionic; i.e. ionic build android --release
). If I build a debug app (ionic build android
), I am able to see the app from the chrome inspection tool without any issues.
Google play does not like debugable apps https://developer.android.com/studio/publish/index.html which is needed for the inspection - see this SO link: debugging an ionic app for android platform hence proper releases won't appear in the Chrome inspection.
In my case the problem was solved changing the usb connection mode in the settings of the Android device to "Camera (PTP)" . For some reason the usb debbuging did not work when connection mode was set to MTP.
Comments
Post a Comment