Can't connect LG G3 to Android Studio - android

My LG G3 is not appearing in the device list for android studio. I'm on ASUS n550jk with Windows 10.
Things I have done:
USB Debugging Mode
Media sync(MTP)
Camera (PTP)
Google USB Drivers from Android SDK Manager
LG USB Drivers
Switching USB ports
Restarting PC
Nothing has worked. I got it to work a few months ago on Windows 8.1, but I can't remember what I did.

As on Android 6.0 device & Windows 10 this worked for me. Steps 1 & 2 before attaching phone to computer.
1) Activate developers settings (Settings -> General -> About phone -> Software info -> Press 7 times "Build number" button). After that it says "Now you are an developer".
2) Go back to General settings and press "Developer options". After that find option "USB debugging" and tick that box.
USB debugging
3) Attach phone to the computer via USB. Phone will ask "Allow this computer to access your phone data" "Allow". After that you should have "Tap for more USB options" -notification. Choose "Send images (PTP)"
Create "Hello World" -project as an test and try to to select deployment target again.

Make sure you enable developer options on your phone and check 'Enable USB Debugging'
On your Phone... Go to your settings: Go to "about phone" Tap on "Build Number" 7 times. This enables developer options Go to Developer options (in the settings app) Check - Enable USB Debugging
Did you make sure to install the adb drivers for your phone? Also make sure you have enabled debug mode on your device. If neither of those are the issue, maybe check here for further troubleshooting help.
When you connect your phone to your computer with Android studio running, you should see a dialog box asking for permission for your computer to debug your phone. Tap Yes and accept those permissions.
You should be set from there! Hit 'Run' in Android Studio and you should be good to go.
Hit me up on here if you have any further questions!

Switch USB PC connection from MTP to PTP

LG G3 requires you to 1) Activate developer's mode 2) Enable USB debugging BEFORE connecting your phone to the laptop 3) Accept the computer's RSA fingerprint when installing an apk from AndroidStudio and most importantly 4) Installing the phone on your computer.
Use this link and select your model. Without installing this software you will still be able to charge your phone and access its memory from your laptop but for it to appear as a device in Android Studio, install this.

I had a similar problem shortly after upgrading to MarshMallow. I had developer options on, but the "USB Debugging" option was disabled.

I had a problem with connection LG G4 phone with Android Studio, and try lots of combination like enabling developer mode, USB debugging, switching USB PC Connection from MTP to PTP and vise versa, restarting phone...But no csucces until I downloaded and installed Windows USB driver from this location http://www.lg.com/in/support/software-firmware and choose LG G4 Stylus. My phone is LG G4 Leather dual sim, but works with selection above.

you should go to settings->Common->Software info and click Build number 7 times in LG G3

Had the same problem with my LG G7, this page helped me solve it.
Essentially, what was missing, besides enabling USB Debugging, was enabling USB Tethering. For that:
Look for "tethering" in your settings search bar.
Enable it after clicking on the first option.
Now your LG G7 should appear as LM G710 (mobile) under your devices Android Studio dropdown menu. Select it as your current main device.
Run your main.dart with the play button (or flutter run on the terminal). It will also appear as an available device in VS Code if you prefer it as your IDE.

Related

Device not recognize in android studio for android debugging

My device Xiaomi Redmi MI A1 is running stock android, don't mistake it to be running MIUI.
Things I did :
(1) Enabled developer options and enabled USB debugging.
(2) Connected to my PC and downloaded Google's USB drivers for Android Studio as well as OEM USB drivers from Xiaomi.
(3) Installed it and also updated the device drivers from device manager by manually selecting the OEM USB driver file (it was showing no updates available afterwards), but Android Studio was still not recognizing my device.
(4) I also downloaded MI PC suite from their website but now it wasn't recognizing my device, I connected my device in PTP with USB debugging enabled.
I am using Windows 10 ( Version 1703; build 15063.632 )
My device config is AMD A6 processor at 1.8 GHz quadcore with 4GB RAM.
try to do this things...
1) change your USB mode to file transfer .
2) enable to install from Unknown sources ....
go to settings->additional settings/Privacy/Unknown Sources
3) also enable install via USB in developer options
4) restart Android Studio.
Try changing the "Select USB Configuration" option to MTP.
It worked for me after installing the Mi PC Suite from here: pcsuite.mi.com
Try changing the USB mode to PTP or any other, in some systems PTP is only recognised in Android studio.
open file explorer
right click on my computer
press on Manage
open the device manager
you can see unknown USB connected
right click and press on update driver
press on browse my computer
press on let me pick
press on USB composite and Next
that it!! you will get a popup that your device is recognized now,
you can see it in the device manager now, your USB is recognized now.
Good luck!

LG G4 not recognised by Android Studio

I just got the LG G4 phone, turned on developer options mode, tried running an app from Android Studio but it can't recognise my phone. I even tried switching from MTP to PTP but still it's not recognised. I tried a lot of resources out there, still nothing. Please can anyone help?
So i restarted my device, and switched USB options from MTP to PTP. and for some reason it worked. I dont know why. Thanks for answers above, much appreciated
Had the same problem and tried everything mentioned above with no success. What ended up working for me was downloading the LG Android USB device Drivers which can be found here: http://www.mylgphones.com/lg-android-usb-device-drivers
The latest drivers didn't work for me so I downloaded the second latest and voila! It worked! Hope this helps.
None of the answers here worked for me until I turned on USB debugging mode in Developer Options.
For completeness, the steps are:
Go to Settings > About phone > Software info
Tap "Build number" 7 times until it says that you're a developer
Go back to Settings, and tap on the new "Developer options" item (second last in the menu)
Enable "USB debugging"
Plug in your phone
Change from MTP to PTP mode
Allow the computer to access your phone (there should be two messages - one of them should be for the RSA key fingerprint)
And that should do it. Run adb devices and you should see the phone.
switched USB options from MTP to PTP. when you try to switch it will ask to install drivers then clicked on Install ....now you can debug your app on device
Check your phone, it will ask to install driver on PC. Afterwards android studio will see your phone
Here's what I had to do:
Install the LG Mobile Drivers: http://lg.com/us/lgeai/drivers (latest at the time of writing: here)
Disable USB debugging if currently enabled (this was key for me)
Enable USB debugging
Plug into computer
Allow USB debugging when prompted (will show RSA fingerprint, check "always allow").
Trust the computer when prompted (allow access)
Switch to PTP
Install USB driver when prompted
Wait for the driver to finish installing on your PC
adb devices should show your phone now. If you don't get some of the prompts above, try unplugging and re-plugging your device. Also try different USB ports on your machine.
I had same problem. I was checking Developer Options after plugging USB cable, the USB Debugging option was unchecked and grayed out while cable plugged. I unplugged USB cable, checked USB Debugging option and plugged USB cable again, it worked.
I had the same problem with an LGL58VL test handset. Other (non-LG) handsets worked without problem. Installing the Google USB driver didn't help (Windows said "installed driver (LGE Android Net MTP Device) is already up to date".
Here's what worked for me
WINDOWS: Download and install LG driver on Windows:
http://lg.com/us/lgeai/drivers
HANDSET: Enable developer mode:
Settings > Software Info > Tab "Build number" 7 times
HANDSET:
Settings > Developer options >
Enable USB debugging => YES
Select USB Configuration => MTP
WINDOWS:
Plug in handset. "Action" => Nothing
HANDSET: Accept RSA key
WINDOWS: Android Studio > Tools > Connection Assistant >
Verify handset device is listed and available for debugging
ALSO: sometimes, after I enabled other test devices, the "Enable USB Debugging" option for the handset became grayed out.
WORKAROUND (Handset):
Settings > Developer Options >
Turn Developer Options OFF (slider at the top)
Turn Developer Options back ON
I was now able to hold down "USB Debugging" and slide it back to "ON"
You have to activate developer mode for your device.
Try tap "adb devices" in shell window( or command window)
1) if still nothing displayed, it must be not related to studio, please check whether drivers is properly installed or register in system(Different system has different methods).
2) if displayed like "0b63d5xxxxxxxxxx device", it should be studio's problem, check view option or reinstall android studio.

Eclipse doesn't see my Android device

I just installed the Android SDK and Eclipse and then tried to launch an app from Eclipse on my real android tablet.
Clicking the "run-as" symbol in the toolbar shows "none applicable" so i used the context menu of the project file. Here i can choose "android Application" but in the opening window my device doesnt show up.
I enabled the developer mode and USB debugging and Windows installed some drivers automatically. I also tried installing the USB driver from Acers homepage manually. After connecting, the tablet shows the "USB debugging connected" in the pull down menu.
The file system can be accessed trough windows explorer, so i build the app manually and was able to copy it through windows explorer onto the tablet and then run it through androids file manager.
What can i try to get this essential feature working? Thanks for all answers!
1) Connect your phone with your computer (Easy)
2) Enable USB debugging How to do it
3) Watch this video so as to
Install the correct drivers on your computer How to do it
Hope that helps!!
This is a short checklist that you need to follow:
download manufacturer driver from this official link and install it;
be sure that you have enabled Developer Options on your device;
enable "Debug USB" on Developer Options;
go to Storage, and in options menu click "USB computer connection";
in USB computer connection, check "Media device (MTP);
check in your system bar if you have the symbol of "Debug USB" (is a KitKat on latest version, for example);
connect your device on PC.
If your device is showed on device list, but it is "unknown", than restart only your device.
I had the same problem with my LG G3 phone.
I tried to re-install the driver as explained here: http://developer.android.com/tools/extras/oem-usb.html
Nothing helped. Fortunately on the very same page I have found the link to LG firmware site: http://www.lg.com/us/support/software-firmware
So I did the following:
Connect the phone to the PC using the USB cable
Uninstalled the Google's USB driver (My Computer->Management->Devices->Portable Devices->MyPhone: uninstall)
Download driver for my LG G3 phone (LG885) from the LG site
Install this driver
Got on the phone screen request to approve the new RCA key and allow debugging.
Try to Run an Android project in Eclipse.
PROBLEM SOLVED.

How to test android apps in a real device with Android Studio?

I started to develop in android with Android Studio IDE, I tested my apps on the emulator and works fine, but when I tried to test the apps directly in my device doesn't recognize it and the console shows next message:
Waiting for device. USB device not found
I configured "USB Device" in Run>Edit Configurations...> in tab "General", menu "Target Device"
I enabled the "Debug option" in my device
Plug/Unplug USB
I can run on my device at last, just I enabled the "USB debugging" and "Allow mock location" options from the Debug Menu of my device.
First we have to enable the USB debugging mode. for that go to Settings -> Developer Options ->USB debugging in your phone checked it and allow it.
After it open android studio, click on SDK manager , check mark the Google USB Driver and hit install package.
After Installing Google USB Driver, close SDK Manager window, Connect your phone or tablet through USB cable to your laptop or PC.
Now click on My Computer (Windows 7) (or) This PC(Windows 8.1).Select Manage.
Select Device Manager –> Portable Devices –> Your Device Name
Right Click on Your Device Name and Select Browse My Computer For Driver Software.
Point it to C:\Users\YourUserName\AppData\Local\Android\sdk\extras\google\usb_driver. Hit Next and Finish.
Now Hit Run Button after selecting Your Project in Project Explorer in Android studio. Choose your device and press OK.
I have a Nexus 4 and own a Thinkpad L430 Windows 8.1
My errors:
"Waiting for device.
USB device not found"
I went to: Device Manager > View > Drop to "Acer Device" > Right click on Acer Composite ADB Interface > Update it
Afterward, Reboot/Restart your computer. Once it turned on Plug Your USB Device onto the computer.
Go to: Setting > Enable "Developer options" > Check the "USB debugging" option > Check "Allow mock locations" > Check "Verify apps over USB".
Swipe down from the drop down menu of your phone where it Shows the USB Connection Icon. Tap on USB Computer Connection > Select the Check box "Camera (PTP)"
Run your Android Studio App and it should work
To test an android apps in a real device with Android Studio, You must keep two things in mind
You should enable USB debugging option on your android phone.
You must have driver installed on your computer.
Now , let me tell you how you can enable USB debugging on your android phone:
Go to Settings on your android phone
Scroll down to the bottom and click on About phone
On this menu also scroll down to the bottom, you should see something Build number
Click on Build number 7 times
Now your Developer Option enables, once you done click on back button and you should see a new option on your android screen i.e. Developer Options
Click On Developer Options
Scroll down until you see USB Debugging
Go ahead and click the check box next to the USB debugging
Now your USB Debugging option enables.
Connect your android device to your computer with the help of USB connector.
Now let me tell you how you can download the driver on your Windows PC:
Your windows machine need a software called driver to communicate with your phone.
Go To OEM USB Driver Website to install your appropriate driver
Scroll down and select the driver appropriate for your device.
Check the screen shoot
Once you download it , you have to unzip your file
After Installing Google USB Driver, close SDK Manager window, Connect your phone or tablet through USB cable to your laptop or PC.
Now click on My Computer (Windows 7) (or) This PC(Windows 8.1).Select Manage.
Select Device Manager –> Portable Devices –> Your Device Name
Right Click on Your Device Name and Select Browse My Computer For Driver Software.
Point it to C:\Users\YourUserName\AppData\Local\Android\sdk\extras\google\usb_driver. Hit Next and Finish.
Now Hit Run Button after selecting Your Project in Project Explorer in Android studio. Choose your device and press OK.
Step 1: Firstly, Go to the Settings in your real device whose device are used to run android app.
Step 2: After that go to the “About phone” if Developer Options is not shown in your device
Step 3: Then Tap 7 times on Build number to create Developer Options.
Step 4: After that go back and Developer options will be created in your device.
Step 5: After that go to Developer options and Enable USB debugging in your device as shown in figure below.
Step 6: Connect your device with your system via data cable and after that allow USB debugging message shown on your device and press OK.
Step 7: After that Go to the menu bar and Run app as shown in figure below.
Step 8: If real device is connected to your system then it will show Online. Now click on your Mobile phone device and you App will be run in real device.
Step 9: After that your Android app run in Real device.
Regards,
Guruji Softwares (https://gurujisoftwares.com)
For Android 7, Galaxy S6 Edge:
Settings > Developer Options > Turn the switch ON > Debugging Mode (Turn On)
If Developer Options is not available then
Settings > About Device > Software Info > Build number (Tap It 7 time)
Now perform step 1. Now it should work, if its still not working then perform these steps. It worked for me.
if you are using IOS react native platform and want to debugging real android device you can use following code:
adb reverse tcp:8081 tcp:8081
npm start -- --reset-cache
react-native run-android
You have to Download the driver for your Device just go to device manager-->> your device-->update driver-->choose the usb driver path from sdk extras folder and click next.
You can get the correct driver and you can run on real device
If USB Debugging Mode is enabled and does not work, you should install your device driver.
For Nexus Devices;
Install Google USB Drivers on SDK Tools.
Go to Control Panel > Device Manager and check drivers status.
(Probably you can see warning icon on ADB Interface Driver.)
Select ADB Interface driver and click update. Choose "Browse my
computer for driver software" and set folder path like
"D:\Users\userName\AppData\Local\Android\sdk".
For Another Devices;
If you install the model's driver, it may work. For ex: Samsung Kies,
LG PC Suite.
Hope it helps!
I tried #Mr. Stark answer. It didn't work. It failed to install the drive. I have Samsung S8 plus. I enabled the debugging mode on device then installed Android USB Driver for Windows from Samsung site, it works.
Other 2 step solution could be for Android Studio;
"After installing cellphone drivers" on your computer(if it is
needed? and device is not detected already in windows, most
cellphone are now a days plug and play or auto detected by the
windows, u can use windows "settings->devices" or "settings->phone"
or "control-panel->Devices & Printers" to see if your cellphone is
detected). If not you need to install devices drivers for your cellphone
possibly form its OEM or manufacturer website.
Open Project you want to run in your cellphone; Click,
Run -> Select Device... -> In popup menu select "Troubleshoot Device
Connections" at the bottom of the list, it is a wizard and it'll
guide you through all steps necessary to enable USB Debugging on
your cellphone.

Why won't Eclipse recognize my Android phone?

I have the Galaxy Nexus. I turned on debugging mode and when I tried to update driver software, I got a message saying that my driver was up to date.
I'm trying to run a simple "hello world" but Eclipse doesn't recognize that my phone is connected when I try to run it...
Try these three things in your devices Settings...
Unknown sources: Allow installation of non-market apps. (On my Galaxy sIII it is found under "Security")
Turn on USB debugging (under Developer options. Do this before you plug your device into your computer.
Turn on USB tethering (on my phone it is found under "Wireless and Network" settings
USB debugging mode should be on in your phone and if using Windows install all drivers required whereas in Mac and linux you just need to check your USB Debugging in Setting->Developer options

Categories

Resources