Android Studio 0.2.5 Does not see Galaxy S4 as device - android

I've googled all over the place and have yet to find an answer. I have a new Galaxy S4 and just downloaded Android Studio. I'm trying to run my first Hello World app on my phone, yet Android Studio 0.2.5 does not see the device. I have enabled Dev mode on my S4 as I've read, but still no go. I even tried restarting my S4.
Anyone have any sort of idea what might be the issue?

I have a Galaxy S3 and initially I did not know what to do when I was in the same position as you are.
The Android page on making your device recognizable via USB is slightly misleading. So what is the way out ?
Well, download and install Samsung Kies and let it do its work. It will install all the necessary drivers to make your device recognizable.
Happy coding.

You're using Windows, you can try to go to Device Manager, right-click your phone, click Update Driver Software, then you should select Browse my computer for driver software, click Next and click Browse and locate the USB driver folder and point to your <android_sdk>\extras\google\usb_driver\ folder.
You can find more detailed instructions here.
I hope it can help you.

Make sure that "USB debugging" under Settings > Developer Options is checked. Then a security pop-up should appear to allow the computer to connect.

Related

Android studio doesnt detecting my android device

I am using Android Studio 3.3.When i connect my device,Samsung Galaxy Grand2,the pc has detects it but the Android studio doesnt!!!
I have installed the drivers and updates it properly.The Debugging is enabled in my device.I have tried both PTP and MTP.But when i click the 'Run' button of the android studio,it will not show any devices.I pressed the 'Don't see your Device' link in the same window.It shows my device in the first step in the list of attached devices.But,proceeding further,finally it will shows no device is connected.What can i do?please help me
Plug in your android device click on run button and then click on troubleshoot. This will open Assistant on right side of the application and follow the steps to restart ADB server.
Hope this will help you, pal.
If the other answers don't work, you may need to setup new rom. I had to do that for my Samsung tablet. I tried s8 and j7 too they didn't work as the others.
You may wanna take a look to https://forum.xda-developers.com/ for that.
Please Use the below link Install & Read Instructions. USB OEM DRIVERS.
and Restart Computer.
Link
OEM DRIVERS
-try ADB Driver
link hope this will help.

Android Studio - No USB devices detected

I tried to play Android Studio 2.0 with my mobile without success, what I did are:
In my mobile, Apps/gear icon/Settings/SYSTEM/{} Developer options/ Android debugging/, enable the Android Debug Bridge(adb) interface (set tick).
After plug in my mobile to my PC with a USB cable, I found A0001 in my Computer folder. Within A0001, I can see the files in my mobile.
In my PC, run Android Studio/bin/studio.exe, "Select Deployment Target" window shows with message "No USB devices or running emulators detected"
I have tried two different USB drivers but got no lucky.
Perhaps I should tell Android Studio where is my USB driver? But, how?
Can you help?
I had the same problem too and I managed to resolve it this way.
First, enable debugger mode in your android device.
Go to Device Manager from Start Menu and try to find ADB Interface with an error symbol on it. This generally happens because windows sometimes fail to load all the mobile device drives.
Next, Go to http://adbdriver.com/downloads/ and download the driver installer, unzip and run it.
Now go to Android Studio and you should find that everything is working fine.
Chill....
same here... but I hope you can avoid this problem the same way I Did.
There is an "universal ADB Driver for all Android Devices".
Yep... sounds like magic.
Just follow this link.
https://devs-lab.com/usb-adb-drivers-for-all-android-devices.html
Fun fact there is no "Step 5" in that article so I'll give you.
you have to enable "USB Depuration" from "Developer Options" connect your cellphone to computer as a "MTP storage" , after windows detected your cellphone as a "Portable Device" Execute ADBDriverInstaller.exe (that downloaded from devs-lab)
check the device list and your cellphone will say "Driver incorrectly", select your cellphone and press install.
Step 6: Once the process is completed, you’ll see something like the image that appears there (in the link).
I hope that somebody else work this
Go to Run > Edit Configurations...
Under Deployment Target Options select Show Device Chooser
Dialog from the drop-down-list
See picture for reference
After struggling with this problem for a while, I found that there are certain cables that can only charge your phone, and even though they seem to be working, they do not allow your phone to be used as a "Media Device" and therefore Android Studio does not detect it.
Go to
Tools | Android | Enable ADB Integration
Make sure it's enabled. When I upgraded to 2.X it was for some reason disabled for me and it took me hours to find it.
I just cannot beleive why it is so difficult! let me try again and please check my steps again:
I installed Android Studio 2.0, then run Computer/OS(C:)/....../Android Studio/bin/studio.exe.
The Android Studio window appeared in my working area Computer/OS2(J:)/Users/MyAccount/Desktop/.
I connected my mobile with my computer, Cpmputer/A0001/ appeared, from it, I can see the files in my mobile.
I clicked the run icon in the Android Studio window, a "Select Deployment Target" window apeared with message "No USB devices or running emulators detected".
(I got two USB ports and tried both but got the same result.)
Finally found the solution : )
1. Install device’s required driver. (for me it was motorola device
manager)
2. Download Google Usb Driver from SDK Manager
3. Open your phone's setting->developer options and turn on USB debugging.
4. connect your device to computer
5. Go to Device Manager from Start Menu and try to find if there is ADB Interface with an error symbol on it.
5.1. If yes, then right click on the ADB interface->Update driver
software->Browse my computer for driver software-> Let me pick from
a list of device drivers on my computer->Select Motorola ADB interface
5.2. Now one confirmation will pop up in your mobile, accept it
5.3. Now you should see no error mark beside the ADB interface in your
device manager
There are 3 steps to set up your phone for debugging:
1) Change your phone to developer's mode by going to Settings, About Phone, Software Info, Android Version - tap at least 7 times on the Build Number text. You will get a message saying you are now a Developer.
2) Enable USB Debugging in Settings - Developer Options. Make sure you are not connected to your USB port to see the USB Debugging option enabled, otherwise it will be disabled.
After you plug in your USB, swipe at the top of your screen, you will see USB Debugging on.
3) Make sure USB connection is set to Photo Transfer (or MTP - Transfer photos and videos). After you plug in your USB, swipe at the top of your screen, and you will see Tap to change USB options on the menu. Tap it, and select Photo Transfer option.
Perhaps your mobile manufacturer does not provide the proper driver.
Go to Device MAnager and look for: Android Composite ADB Interface. If it's there, the driver is properly installed. If not... You and I are on the same "wagon"...
I tell you: Acer? Never again.
USB debugging somehow got turned off under developer options on my Samsung. Turned it back on and it worked, but only by clicking on "debug app" instead of on "run app".
With me, when connecting the mobile to the pc, three options appeared on my mobile.
Charge this phone
Transfer Files
Transfer Images
I thought I should select "Transfer Files", but it dd not work
But it only when works I choose "Charge this phone"
Few ways to resolve this problem.
Case 1: Install PdaNet+ in your system. (worked for me).
Case 2: Enable the USB debugging option in your mobile. Setting > developer > Check "USB Debugging".
Case 3: Change from MTP to PTP.(sometimes vise versa works).
Question is Your development sdk no mobile version android sdk Platform.
For example, my android phone system is 6.0, i need download sdk Platform 6.0.
First, try to revoke the usb sessions in the developer options, then try downloading an oem usb driver
If then doesn’t help you can try opening the device manager on windows, right click on your phone, select uninstall. This worked for me if I had the same issue.
I couldn't find my android phone or any USB device I connect to my windows laptop on the hidden icons. Well, my mouse and phone could charge but I can't seem to see my phone in the File Explorer option.
I prefer running Apps using my phone rather than emulator in Android Studio and yet I couldn't see my phone when I connect using the USB.
This helped me solve all my problems after several hours of searching for solution.
Download Universal ADB Drivers - One size fits all Windows Drivers for Android Debug Bridge
Please use this link: https://adb.clockworkmod.com/
I hope this works for you like magic!
I can see all the devices I connect using the USB cable and my mouse receiver.

android sdk eclipse, samsung galaxy tab 2, How to recognize devices

I'm trying to develop on Samsung Galaxy Tab 2 with eclipse and android sdk. I've already installed Samsung Kies and turned on USB debugging on my device.
It looks like eclipse didn't know the new samsung driver. Did I forget something? What should be the windows pilot of the device? I think is the samsung pilot. Should I be able to create virtual samsung at this step? What is the correct url for the samsung add on site?
I'm on windows 8. I'm using Eclipse Juno and adt-bundle-windows-x86_64-20130219
I suggest you try this.
Unplug your device. Install this drivers. After installation plug it in again.
It should recognize your device.
Link : http://www.samsung.com/us/support/owners/product/SCH-I705MKAVZW
If Windows recognises the USB mass storage on your device, what you can do, is go to Device Manager, Right-click on My Computer > Manage > Device Manager, find your device, should say not recognised or something like that, click Update driver software then click Browse my computer for driver software then click Let me pick from a list of device drivers on my computer, you should end up with a list, click Show all devices or something like that. Then search for your manufacturer in the list, in your case Samsung, click on manufacturer and find Android USB debug or something like that (it's a certificate) then install that.
Restart your adb in Eclipse, to do so, go to devices tab, (to get to it, click Window > Show view and find Devices if not in that list, then check in Other list at the bottom. Click on arrow in image below, and select restart adb . Finally restart Eclipse.
Hope this helps.
I suggest you to run cmd, then go to platform-tools root, and run the following command:
adb devices
This will list all attached devices and tell you if your samsung phone is recognized by Android Debug Bridge, if it is not then search for another driver for your phone and try again.
On a Galaxy Tab 3 7.0 you need to go to Settings -> Developer Options (scroll right down the list to the left), enable it in the top-right switch, then turn USB Debugging on.
Running adb devices will then show your device if you have the Samsung Mobile USB Composite Devices driver installed (through Kies or otherwise).

Hardware debugging using Samsung Galaxy S3 in Windows

Picked up my S3 on launch and want to get started learning to develop for android using Eclipse. So far I'm having fun!
However, I want to be able to debug my application on the phone hardware itself and not just in an AVD. My problem is that I cannot find appropriate USB device drivers. The Samsung support site is garbage and windows update told me 'where to go'.
Has anyone got this working yet? If so, how?
For those still looking, you don't need to install the bloat. Go to:
http://www.samsung.com/us/support/owners/product/SCH-I535RWBVZW
Click on or scroll to "Manuals & Downloads" and then USB (Driver) is available under "Downloads".
Direct download link: Samsung USB Driver - 1.5.45.00
Turns out you have to install Samsung Kies to get the USB driver. Similar to the iPhone. I wanted to avoid this unnecessary bloat (i plugged my phone in and it threw a WPF exception...) and thankfully you can uninstall Kies without uninstalling the driver. Result.
After that, ADB is able to see the phone with no problem at all and I can debug on the device perfectly.
you need the usb driver for it. Once you have that installed simply connect the phone via usb to your machine, start eclipse and adb will pick up the device given that the drivers installed properly. try this link, one of these will probably have the driver. Samsung Galaxy S3 downloads
Can be downloaded on the following link
http://www.samsung.com/uk/support/usefulsoftware/ASPS/JSP
There's no need for KIES or other bloat!!
There's a very useful toolkit that does much more then kies, and it's available here:
http://forum.xda-developers.com/showthread.php?t=1703488
Direct link from Samsung's Downloads section:
http://org.downloadcenter.samsung.com/downloadfile/ContentsFile.aspx?CDSite=US&CttFileID=5301407&CDCttType=SW&ModelType=C&ModelName=SCH-I535RWBVZW&VPath=SW/201211/20121110030255344/Samsung_USB_Driver_for_Mobile_Phones_v1.5.14.0.exe

Why won't Eclipse/adb detect my Samsung Galaxy Tab device on my Mac?

I've connected my Samsung Galaxy Tab device to my Mac. Yes, I've turned on debugging. When I go to run my application to test on the device the device is not listed on the Android Device Chooser menu. Running the ./adb devices shows no results.
NOTE: Posting this question for others to find. When looking for the solution earlier all I was able to locate were answers to broken links to device driver downloads for Windows.
Make sure you uncheck
Settings > Applications > Unknown Sources (Allow installation of non-Market applications)
Turn on USB Debugging inside Settings > Applications > Developers Settings
If you're trying to connect to a Mac, I had this issue with a Samsung Galaxy Tab 10.1 running Android 4.3. To enable developer options, open the Settings app, tap on "About device" under the "General" tab and then tap on the "Build number" repeatedly (it's grayed out but you can tap on it anyway). A small pop-up will appear showing the amount of additional taps you need to do to turn on these options.
Once enabled, just turn on USB Debugging and it'll show up in Eclipse just fine.
I had this problem on my Mac and after 30 minutes tried switching USB ports and it finally started working on the second port.
I fixed it by reboot the device (Samsung Galaxy Tab2 7.0)
Update your driver for samsung. It can be found here: http://developer.samsung.com/android/tools-sdks/Samsung-Andorid-USB-Driver-for-Windows
Connecting your phone after development mode is on, and USB debugging is on.
At connecting to the PC the phone asks to trust this location. Finally.
This fixed my problem while all other tips were incomplete.
It does not answer your question of how to get ADB to see the device - I could not get that working. But what I did to install an APK I needed to test was to put it in Dropbox on my computer, then install it from there on the device.
Connect your device via USB hub instead of directly connecting to one of the usb ports on MAC. It worked that way for me. Please give a try.
There's also a pop-up that comes up at times requesting the currently connected computer to have access to your device(not to be confused with the Linux not supported pop-up; it lies ; ] ). I continued to receive Target:Unknown in Eclipse until I managed to catch it and accept. This is on a Samsung Note 8", which I believe is registered as a Tab 10.1 in my Arch Linux udev rules.
It may also happen that USB debugging is not checked on your device. Please go to developper options in your device and check it is enabled.
By the way, for devices with android Jelly Beam (4.2) and later versions, you will find out that this option is hidden. To activate it, click 7 times on the compilation number, and the option will be activated.
Tried everything, nothing helped. Including
USB debugging enabled
MTP/PTP
ADB restarted
Device/PC restarted
Tried Samsung's USB driver
By tricking/modifying driver installer, installed Google OEM Usb drivers for Galaxy Tab.
All software up-to-date
The only thing that helped is installing Kies3 + setting PTP on device, instantly authorization pops out in device. Everything OK now.
Kies3 download here: http://www.samsung.com/uk/support/usefulsoftware/KIES/
Enable USB Debugging mode solve the problem!
For those who don't know how to enable it (it's very hidden on Android 4.3 onward), see this.
In my case, this solved the problem:
unchecked the Settings->Security->Unknown Sources,
clicked on the upper left corner and changed USB mode from MTP to PTP,
unplugged/plugged the device, and
clicked OK on the USB debugging prompt.
Had this problem last year, never solved it. Again, after googling high and low, I could not find a cure for the USB debugging flakiness. Now for the good news:
1) Root your device. 2) Install adbWireless widget from Play (I am in no way associated with the author).
You are now good to go. After starting adbWireless and following its directions, you can now debug through adb wirelessly to your device, in my case, the original 7" Galaxy Tab.

Categories

Resources