Android Studio does not recognize my LG5 device - android

I am using Windows 10 with Android Studio's latest version.
I have configured my LG device to be in developer mode (clicked 7 times on the build number and got message that I am in developer mode).
When I try to debug my app on the LG device, I get popup that tells me that there is "No connected device".
What could be the reason for that?
I can see the device on My Computer as a media device.

In addition to being a developer, you must also enable debugging. Try going into Developer Options and turning on USB Debugging.

You just enabled Developer Options. You need to enable USB Debugging.
Go to Your phone's Settings then go to Developer options and enable USB debugging there.
Also sometimes if you connect a new device to your pc it will install some built-in drivers for the device. So make sure you allow that process to be finished.
Still if the problem persists try another port of your computer.
P.S. For first time connection your phone will ask you to allow debugging permission from pc.

Related

How can I run my physical device as an emulator in Android studio?

I don't even know if there is a solution for this, but seeing software like Vysor and others, I was wondering, is it possible to run my USB connected android phone as an emulator, using Android Studio for example? How can I achieve this?
Edit: I don't want to debug or run apps from android studio in my physical phone, I know I can do that. What I want is to run my phone ( with it's data, other apps installed, etc) in mt laptop, as I would with an AVD.
yeah, you can run as a physical device on your android studio. the first thing which you have to do is go your phone settings and click on about device in that press 5-6 times on build number. after clicking on that you get a pop up that your developer mode has turned on.
in next you will see a developer options on your physical device setting.
go into developer options and click a mark on USB debugging.
after that connect your USB cable to your PC. and open the logcat options in the android studio.
you can see that your physical device is connected to your android studio.
yes ,
first go to mobile setting in your mobile device there you find software information
in software information press Build number for 5 times then it shows some toast message you are a developer
after that you will find developer options in settings go to it in that you will find usb debugging ( turn it on)
3)connect device with laptop using usb in and allow all the permissions that required for connection
4)go to android studio you will find your device name .If your device is not found go to run as multiple device there you find your device just click it
Thats all
Enable programmer mode on Your device and enable usb debugging there
If you mean the Physical device to use as a alternatives of Emulator then it is okay. You can use a Android Device to run the apps for debugging. Here is a detailed documentations how to connect your device with android Studio.
Check this link....

Android app not running on mobile device

I am just beginner for android. And I just create'Hello World' app for initiate in Android Studio. But I am not able to run this on my mobile device. When I connecting this to device, it's connected but showing an error message "No USB device or running emulators detected".
I did everything what I can but no luck.
Sometimes it helps to switch the USB connection to one of the other modes available. (See your notification bar on the left when your phone is connected to your PC.)
You will need to enable developer options on your phone -
On Lollipop 5.1
Go to About Phone
Click 7 times on Build Number. Now Developer options are enabled
Go back and Click Developer options
Enable USB debugging under Debugging.
Android Studio 2.1.1: "no usb devices or running emulators detected"
Have you tried to kill and restart adb server through terminal. Also there might be a case that usb driver are not installed.
You just have to follow few steps:
Install PDA Net on your PC.
http://pdanet.co/
Make sure your USB cable is in properly working condition.
Make sure USB debugging is "ON" on your Android Device.
Now when you will connect your phone with PC, it will automatically install some drivers. Let it install. When PC is done with driver installation, it will show a pop-up on your phone. You have to allow your PC your access your phone through that pop-up on your phone.
Try it, I hope it will work!

Chrome remote debugging, the device is not showing up

I'm trying to debug a Website in Chrome on an Android device. For this I'm following the official remote debugging guide.
Things are working up to 6. Make sure that Discover USB devices is enabled., but then in point 7. Connect your Android device directly to your development machine using a USB cable., the device is not showing up. Also on the device, I do not get the the Allow USB Debugging permission prompt as described in point 8.
The device has USB Debugging enabled, and Windows recognises the device.
I'm able to connect to the device using Android Studio, and then use Chrome remote debugging. But it looks like overkill to install several GigaBytes just to be able to clic ont the Allow USB Debugging permission prompt on the device.
What can I do to launch remote debugging without installing Android Studio ?
If you turn on Developer options on your Android device, you should be able to toggle USB Debugging from there. Download the standalone ADB package or install Android Studio. Run adb server in the command line. Connect it and then the prompt to accept the device's RSA key fingerprint should appear and you should be good to go.
The docs do a better job of showing the step-by-step process https://developers.google.com/web/tools/chrome-devtools/remote-debugging/
P.S. if you'd like to test this multiple times on the same two devices you can click Revoke USB debugging authorizations in the Developer options to revoke all previously connected devices' RSA keys.
For those landing here from Google: my problem was a bad cable shipped with the device (Samsung Galaxy A03). It only charged but did not transfer data. I bought a decent third-party cable and it started working.

Device not visible in "USB debugging mode" in android studio

I am using DELL tablet "Venue7 3740" to test my applications.Though I enabled the developer settings my device is not visible in android studio when I try to run my app and yes I also clicked "Debug model when USB is connected"
UPDATE
DELL "Venue7 and 8" has some small issues while connecting to use debugging mode.Get to this link to find solution on USB debugging.The answer was posted by lenrok258 and it works :)
DELL "Venue7 and 8" has some small issues while connecting to use debugging mode.Get to this link to find solution on USB debugging.The answer was posted by lenrok258 and it works :)
The steps to enable usb debugging are
Go to Settings and tap on the build number a couple of times to enable developer options.
Open developer options and enable usb debugging.
Plug in your device to your computer and accept this authorization popup.
Click OK and and you should be good to go.
Continue reading if your device still don't turn up on the available debugging devices.
Once your device is connected to computer, you would have a notification saying, connected as media device/mass storage device.
Tap on it and change the connection type.
You should have that authorization popup now. Accept that and Voila. :)
Note: If you're on windows, you should install your device manufacturer's adb drivers. (If you can't find them, go for universal adb drivers.)
Reference: Enabling usb debugging on android
Kingoroot for windows- simple solution to connect android mobiles with pc in USB debugging mode.

Android/Eclipse debugging

I'm relatively new to Android development, but I am having some issues with debugging on a new device I am working with.
Previously, I was using a Samsung Nexus S (Google development phone) running Android 4.0.4. When I plug in the USB, I get two notifications: USB connected, and USB debugging connected. When connected, Eclipse will prompt me to select the device I want to debug with, and I get tons of useful info in my LogCat window.
I recently started using a Samsung Galaxy S4, running Android 4.2.2. I have installed the USB driver from Samsung, but when I plug in the USB, I now only get a single notification: Connected as a media device. Now when I am running my app through Eclipse, it doesn't prompt me to select a device, and I get almost nothing in my LogCat window.
Can anyone instruct me on what I need to install or configure to get Eclipse to prompt me for the device, and give more detailed logging while debugging? USB debugging is enabled on the phone, in the Developer Options menu.
a) Have you turned on your Samsung S4 debugging mode
To activate the USB debugging:
From idle mode > tap on Menu > Settings > Applications > Development
Check "USB debugging"
b) Have you installed the necessary drivers for Debugging in Eclipse they are not the usual USB Drivers. Have a search on google you will find it
c) After installing reconnect you machine you will that it will mention on your device. Connected for debugging. And you LogCat will start populating
First, you need to set your phone into developer mode by clicking 7 times on Build version. Once this is done, you can check adb devices to see online devices connected to your machine. If you see your device, then you are good to go.
This link might help.
I had a similar issue with a tablet and a similar program. I found that if you forced the usb-sharing program to quit by using teh applications manager then eclipse would then find the phone. it is by no means a long term solution but at least you get to see the logcat.

Categories

Resources