Oppo A57 - Unable to detect phone in Ubuntu and Android Studio - android-studio

Actual Problem
Oppo A57 is not getting detected when connected to a laptop running Ubuntu 18.04 LTS (Transfer files via USB is enabled). Not only that i am unable to see that device (with usb debugging enabled) in Android Studio. USB port in phone is working fine as i can charge the phone.
This problem exists with this device only as any other device (like Xiaomi Redmi Note 3, Moto G4 Play etc) is easily detected in both Android Studio and MTP
What solutions have i tried
I have enabled Transfer files via USB and enabled USB Debugging Mode in Developer Options
I have installed proper device drivers
I have also intalled MTP drivers
I have tried lots of solution from Ubuntu's support forums but none seems to work for me. Please help me out with this problem.
PS : This device is also not detecting in Windows PC.

Related

Android Studio 3.5.3 debugging on Sony Xperia XA2 Ultra

My Android Studio does not recognize my Xperia XA2 Ultra phone for debugging my app.
I checked that Google USB Driver was installed in the SDK tools of Android Studio.
I tried connecting my phone to my laptop in USB 2.0 and USB 3.0.
But my phone is connected in MTP mode and I can't find any option on the phone to change it to MSC mode.
I had the same problem with Sony Xperia XA2 Dual. Finally I found the solution: switch USB preferences to "No data transfer" or "USB tethering" mode.
One sad thing is that you won't be able to simultaneously transfer files and debugging apps (but you have the Device Explorer working as usual).

Can't connect my Samsung Note 3 Neo to Android Studio 3.1.3

After connecting my phone to my laptop, Android Studio still can't detect that device... What should I do? I have already enabled the developer option and switch on the usb debugging option on my phone...
Try installing adb drivers, I used to have that issue with a motorola moto e, reinstalled drivers and it worked
https://developer.samsung.com/search/searchList.do?pageIndex=1&searchBigCategory=SD&searchSubCategory=&parSearchValue=adb+driver&pageReturnCheck=&pageSize=50&pageOrder=&searchInput=adb+driver

How to use real emulator

I am using lenovo k3 note smartphone and running android studio on Windows 7. I want my phone to run my app. I have enabled usb debugging option. But I couldn't find my device in emulator window.
In device manager of win7 when I am trying to install the driver it says:
Windows was unable to install your MTP.
Windows couldn't find driver software for your device.
Any suggestions?

Android Studio No devices connected

Running windows 7 and I have just downloaded the latest android studio version and started a project and now I'd like to test the application on my device but Android Studio says on the bottom left "No devices connected". I've tried a couple of things such as:
updating my Samsung S6 edge drivers through device manager, which were updated now.
have debugging mode turned on and USB debugging mode on.
ran 'adb devices' command to list devices but none show up.
downloaded new universal adb drivers.
toggled between MTP and PTP modes.
restarted computer/phone/android studio/ adb tens of times.
deleted phones drivers from device manager and installed again.
re-installed android studio.
probably some other small things too that I can't remember right now.
I'm at a loss as of right now, if someone can help me out I would really appreciate it!

Android Studio does not detect my Moto G

I've connected my phone in the Camera mode, I have installed the latest motorola drivers from https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481/action/auth. And I've also installed the avd from
http://forum.xda-developers.com/showthread.php?t=2588979
My device is just not showing up in the available devices when I try testing my app. Please help.
Enable USB debugging on the device (Developer options).
I've followed this link https://www.youtube.com/watch?v=Qb2olFyoMV4 and it worked well with my Moto G 2nd Generation.
When I try to see the logs from my device on Android Monitor, I had to unlock my device and there was a message asking if it was ok to debug from this computer.
Allow USB Debug message
Hope it works for you too.

Resources