Ionic View doesn't show on chrome inspect - android

The problem
I'm trying to do some debugging on my ionic app and I have a Moto Maxx (international version of the Droid Turbo). Problem is, the device is detected, but my application is not listed on chrome://inspect, as you can see on the screenshot below.
P.S.: Other devices show my app just fine. And the problem also happened with other motorola devices.
What have I done so far
Enabled USB debugging. (And adb see the phone just fine).
The device is well connected, tested with other cables.
Discover USB devices is checked on chrome://inspect.
Tried to close and open the app before and after USB connection.
So, am I doing something wrong?

You should change to USB Mode to MTP or PTP(Linux) from Charge Only for it to work

You should install the device's driver. I had also issue but with Samsung.

Related

Android device suddenly not found

I am working at an android studio project and I always work with my own physical device SAMSUNG S7. It always worked (for a few weeks now) but today suddenly from one moment to the other my device cant be recognized by android studio anymore. I didnt change any settings! I just changed a line in the code (like a hundred times before) and after it my device is not shown in the list of devices. There is only the virtual device which is useless for me because it never displays the app correctly. Just my physical device shows the app correctly so now I need help. Otherwise I cannot continue programming.
I tried to reopen android studio and restart my phone but it didnt help.
Changing the cable plug mode (credits to Hack06)
Just swipe down the OS status bar, and tap on the device, then choose another connection mode.
Installing Samsung's development drivers
When this doesn't work, try installing the drivers provided by Samsung to improve developments. These can be found here.
USB Debugging
USB debugging may have failed. Or all of the developer settings have been reset. Try that
Reboot your phone into ODIN mode
Caution:
ODIN mode is in charge for flashing your Android phone, and if you’re not careful, you can cause permanent damage to your phone.
This solution applies only to Samsung’s devices, since they are the only devices with access to ODIN mode.
A guide how to access ODIN mode for your phone can be found here.
Install KIES software
If nothing worked till here you might want to download KIES software.
KIES software only works for Samsung’s devices.
Samsung KIES is part of Samsung Smart Switch.
Download here.
Google - Android USB Driver
My last suggestion would be to install Google's Android USB drivers. An official guide can be found here.
This may sound obvious..
but sometimes it could be a cable issue
even if it's charging it could not transfer data
try a new cable

Connect Samsung Galaxy S6 Edge on Mac OS to debug in Android Studio

I've made all the steps to become a developer on the cellphone, and also enabled what is necessary.
I also have already used this samsung galaxy to debug on another computer, and worked just fine.
However my Mac (10.7 El Capitan) does not even recognize my cellphone when I plug on the USB.
So, I've looked for in a lot of sites to install the necessary drivers for the usb port. However, all of them recommend to install SmartSwitch or Kies3, which I've also downloaded.
But, both need the cellphone connected on the computer to install all the drivers I need. But, I can't even make my Mac recognize my samsung S6 edge.
Does anyone had also the same problem? What should I do to make this work? Debugging using the emulator does not solve my problem! I need to debug on the real device.
Do not to use the fast charge cord for this purpose. Buy another android cord to debug

Unable to connect ADB to Android Marshmallow (6.0.1)

I'm on a MacBook running macOS Sierra and I'm having trouble connecting Android Studio to the phone. The phone is a Samsung Galaxy A3 (2016) running the latest update - Android 6.0.1.
I've tried listing the devices using the command adb devices, but the list is empty.
When I connect the device I can hear a tone and the phone is charging. I do not get a notification when connecting the device, hence trying to tap on the notification and somehow forcing an MTP connection is impossible.
I've already activated the Developer Options and the USB configuration mode is set to MTP (Media Transfer Protocol). When trying to cycle through the available USB modes, if the phone is connected to the computer, it always reverts back to MTP automatically.
Trying to turn off and back on the USB debugging, or the Developer options didn't work. Also restarted both the phone and the computer but nothing changed.
Does anyone have a clue of what is going on?
From my research, the only thing that seems to have worked for other people is to tap the notification that is supposed to appear when I connect the phone to the computer.
Any help would be greatly appreciated. Thanks!
I presume that the cable is broken or just plainly wrong. Changing the cable should help.

Trouble connecting to LG phone with adb (Mac OS X 10.7.5)

When I run adb devices there are no devices showing as connected. My device is a LG Optimus Exceed 2 running 4.4.2
There are many of these posts around, so here's what I've done:
I'm using the cord that came with the phone. It charges and tries to sync photos, so it isn't an issue here. Switching usb ports and trying a powered usb hub doesn't affect it either.
I've added the vendor id (0x1004) to ~/.android/adb_usb.ini
Restarted and unplugged any combination of things you can think of
USB Debugging is on. And has been restarted. Same with Unknown sources.
I have never used EasyTether, nor is it installed anywhere on my computer.
Updated adb, updated my sdk.
Restarted adb server
Tried installing LG's drivers: http://www.lg.com/us/support-mobile/lg-VS450PP (They say they don't support Mac S/W upgrade, yet they have a package to install. No help there)
I have a Nexus S running 4.1 that works, and an old LG phone running Gingerbread that connect.
Any wizards out there who've already struggled with this who have advice?
I tried all of the connection types (charge, MTP, PTP) but perhaps not "Internet Connnection, modem"? You can change it by pulling down the system-wide drop down menu and touching "USB connection".
This is how I fixed it, but I thought I'd tried this already, so I can't guarantee it wasn't this in conjunction with one of the things done above.
PTP seemed to do the trick. Never had to do that on any other device...
I had the exact same problem. Selectin Internet Connection and then Ethernet as the USB connection type fixed it and everything is working as expected now.
I know this sounds like a stupid answer, but the same thing happened to me. It turns out the micro USB cord was just bad - which is weird, because it still charged the phone perfectly fine. After testing the bad cable unsuccessfully on a phone that had been recognized on my mac before, I switched to a different micro USB cable, and that made all the difference.
This is late in the game but I had an additional step to all the other suggestions. The phone was showing up in the System Profiler after I switched the usb mode to 'MTP' mode, but I didn't see any usb tethering options. After adding the phone's vendor ID to the usb ini file, enabling the developer and usb debugging, killing and restarting adb, I still didn't see my device in adb devices.
I finally had to download the Mac driver for the phone directly from LG.com. After installing and rebooting on the computer, the device showed up in adb devices.

can't get ADB to recognize my galaxy

I've followed this post trying to run my application on my galaxy. My app is debuggable, USB debugging is checked on phone and I've manually installed USB drivers - my device manager shows me that I have Android ADB Interface installed.
Despite it all - when I am running adb devices it would only list the emulator.
Any ideas? thanks!
P.s. I am running windows 7 and the mobile is Samsung Galaxi 1900I
I use Droid X, in Win 7.
sometimes it is not work too (adb can't detect my device)
but the solutions is simple, just switch usb connection into Windows Media Sync (ie. from PC Mode) , it is work for me.
also make sure to set your device in Debug mode (USB Debugging)
Yotamoo, When you first plug in, Windows offers you some choices on how to deal with the new device; Open in File Explorer, etc...one of them is Windows Media Player. Choose that. I had similar problems and this solution worked for me and my galaxy S3...
hakim, why does this work?
Make sure you installed the USB Drivers.
Locate your phone in Device Manager and see if it working correctly.
These are the correct drivers.
Turn Debugging mode on on your phone.
You will be prompted to accept USB debugging on your device if it detects some application would like to use it.
After you agree it will pop up as a debug-able device.
I had the same problems.
Try to update your smartphone in the device manager (computer->properties).
http://developer.android.com/tools/extras/oem-usb.html#Win7

Categories

Resources