Debugging android application on devices +With Sony Ericsson - android

Here i saw various question related to "usb debugging" but answers not really helped me . can any one put light on this issue...
Your any help is appreciable

My problem solved after doing this
I updated usb driver :
i followed step written here under WINDOWS XP .
Device manager view
and ...
i reconnected my device to pc(winXP).
enabled usb debugging in device
usb debugging= set true in android manifest
In command prompt...
C:\android-sdk-windows\platform-tools>adb devices
List of devices attached
emulator-5554 device
e4567855.... device

For most android phones you will also need to install custom adb drivers in order to get it to work. Try installing any software suites that came with the phone as these may have the required drivers. Otherwise look on google for the adb drivers for the particular phone.
For the xperia in particular I was unable to get adb to find the phone until it was upgraded to 2.1 so you may need to do this if you are using an older android version.

If you run android at a command prompt it brings up the Android SDK Manager: under "Available Packages expand the Third party Add-Ons option. There looks to be a new Sony-Ericsson driver. Making sure you have that downloaded and then update the driver for your device from the downloaded driver file may solve your problem.

Related

Devices not being listed on my emulator or Adb

I know this type of question has been asked before but I couldn't solve my problem with any of the solutions.
My device is not being recognized by my emulator and the the in adb devices List.
I have enabled USB debugging in my phone and tried setting USB devices as my default device in edit configurations but the problem still persists.
I am using windows 8.1 and it doesn't work no matter which android device i connect.
Any help will be highly appreciated.
I have experienced this before. Here is what I have done (for Windows 10 OS). I am not sure whether you have tried this solution before.
Go https://developer.android.com/studio/run/oem-usb and download the OEM driver of your android device
Go to Windows Device Manager. For my case, I found a device, namely "adb" with a warning sign. (something like the following picture)
Click your device -> Driver -> Update Driver -> Browse my computer for driver software. Choose the OEM driver that you have downloaded in (1).
After the update, you should be able to see the device on Android Studio
i'll suggest you to check ur device driver or u can use this link universal ADB driver
& check with the minimal ADB & fast boot, device is recognizing or not.get ADB fastboot from this link

Android adb devices does not detect my phone

I have Android Studio on Windows 8.1 and I want to run my android app on my Samsung Galaxy S7 phone.
Here are the details:
USB debugging in my phone is ON
adb version is 1.0.36
Under Device Manger -> Portable Devices -> My Phone, the status is 'The device is working properly'
I also installed Google USB driver in SDK Tools
My desktop can detect my phone since I can read and write files using Windows Explorer
I tried the following but still, adb devices still does not recognize my phone.
Tried USB Configuration MTP
Tried USB Configuration PTP
Tried using different USB cables
Tried restarting Android Studio before and after I plug my device to my desktop
Did I miss any configuration? Any help is appreciated!
Thanks!
I too had the same problem.
I tried the following and it worked.
Make sure Developer options and USB debugging is enabled on your device
Then on your Windows system.
Open device manager and locate your device's ADB Interface Driver
Right click and choose properties
Check in the general tab if your device is working properly
If it is not enabled then go to Driver tab and select enable
You may have to try enabling your device a few times(7-8)
If this works then you may see the below message on the General tab
This device is working properly.
You need to restart your computer before the changes you made to this device will take effect.
And that's how I made it work.
install drivers for your device and enable developer mode for your device
While the simple answer here is enable debug mode and install drivers, I think the answer should mention that if nothing works , do install google drivers. I stumbled on a video explaining the same, so adding the link here.
https://www.youtube.com/watch?v=asbkkV-IIZc
It helped fix my issue with oneplus device. Also, I could get the google usb drivers from android studio > sdk manager > sdk tools section.
Hoping to save someone else's time.
If you entered command adb devices in cmd and don't see your device ID, you can to open Windows Task Manager and close adb.exe task. Then you need to open again cmd and enter adb start-server and check devices again.
If you don't see your device ID after all then maybe problem in phone or drivers.
I found the answer here
I just need to install Samsung USB driver and it worked fine. I guess the Google USB driver did not work for me.
Also, I didn't know that I need to install a USB driver even if I can already read/ write files to my phone when I connect it to my desktop.
In Device Manager, I was looking at the wrong device (Portable Devices). I should have been looking at Other devices and there I can see that the Samsung phone has no drivers installed.
Thanks!
I had the same problem. Just try another USB port on your computer.
rebooting of the android device worked for me. Also, try to use the port USB 2.0
I was also facing the same issue on my MAC-OS. Restarting the MAC fixed the issue.
I also installed Android File Transfer to check if this was only a debugging issue or if it was an issue with the connected devices. Even AFT wasn't working so it was definitely not a debugging issue.
I also got this message on launching Studio after restarting the MAC.
sometimes windows firewall prohibit the adb.exe in platform-tolls folder
first check your phone and be sure about "usb debugging" is "on"
check that Default USB configuration is on "transferring files"
if you checked 1,2 but the problem is not solved you should reinstall platform-tools from "SDK manager" then "SDK tools" uncheck "Android SDK platform-tools" click apply then reinstall it by check "Android SDK platform-tools"

Dell Venue 8 not being recognized by adb?

So I have USB Debugging enabled on the device and its plugged in via USB. Currently, executing adb devices lists nothing in Android Studio terminal. I've checked Device Manager and the device is successfully showing up under "Portable Devices" as "Venue 8 7840". The Dell website doesnt list any drivers for this device.
Using Update Driver Software in Device Manager says the device driver is up to date and lists MTP USB Device.
I've found threads like this one and even though my device is listed in the Device Manager I tried editing the android_winusb.inf anyway, but the issue persists.
Running Win 7, AS 1.3.
Any insight into this issue is appreciate, thanks!
Here is the solution Dell Venue 7/8 Unlocked Bootloader
A quick search on your device says it runs Android 4.2.2.
If this is the Android version on your Dell Venue, then you should have received a dialog on your Android device, asking whether to accept an RSA key that allows debugging through your computer. Acknowledging this dialog should then unlock the Android device and allow debugging.
Did you receive the security dialog?
If not, it also requires that you have adb version 1.0.31 (available with SDK Platform-tools r16.0.1 and higher) in order to debug on a device running Android 4.2.2 or higher.
You can run "adb version" (without the quotes) on a your terminal/command prompt to get the adb version you're running.
See Android Developer website on Enabling ADB:
Enabling adb Debugging
I found Android XDA has universal adb drivers for Dell Android devices.
Dell ADB Universal Drivers
Hope this helps.
I know I'm late, but this tool should help you: http://adbdriver.com/
Open it, click Install and follow the instructions. Good luck!

My phone cannot be detected in eclipse to test run

Before asking my question, I have looked through a few threads that share the same problem as me and have tried all the given solution with no success. I am from Malaysia.
I cannot get my device to be detected to test my app on my phone. I have checked both the "Unknown sources" and "USB debugging" settings in my phone. I am using eclipse. But if I create a random virtual device, my app is able to run there.
Okay so I am using a Motorola Atrix 2. And I'm using Windows 8 Pro 64 bit
I have downloaded android SDK bundle from here : http://www.motorola.com/sites/motodev/us-en/motodev_lp.html
I have also tried downloading the latest driver with no success. I have also added this line in the manifest android:debuggable="true"
I have tried both as a mass storage device and a media transferring device.
I would appreciate any help a lot because as of now, I cannot progress further into developing an android app and that saddens me. :(
I have attached a picture of which my android phone should be detected in the window, but as you can see, none.
https://pbs.twimg.com/media/BJu1XSgCYAEGCUd.jpg:large
go to /your-android-sdk-directory/platform-tools using command prompt.
type
adb kill-server
adb start-server
adb devices
n see whether ur device is detected now or not...
Note: if you're using a Linux machine then put ./ before adb
Install proper drivers for your adb devices, from Android-SDK archive or Motorola site.
If you are on Windows machine, go to the device manager find your device, and select folder with drivers for it.
Open you windows os's explorer, have a look at the process, if there two or more process hold your adb, try to exits the process
Check that the android:minSdkVersion is lower or equal to the Version running on the phone. If it is higher it wont show on "Android Device Chooser"
Install and run programs/drivers with admin rights.
Have you installed Motorola Device Manager?
When debugging Samsung and HTC devices I got it to work by installing that kind of software (for syncing the devices to the computer).
Download from the following: ABD Universal Driver
and install it. Make sure you have your device plugged in before installing and make sure you are on USB debug mode on the phone settings.

Having trouble connecting Android device for Eclipse development

I'm running Windows 7, trying to connect my Android phone by USB so I can start developing in Eclipse. The phone is a Huawei Prism running Android version 2.3.6, and I've set it to USB debug mode. The phone's driver failed to install and I got the following error message:
Device driver software was not successfully installed
Android Adapter No driver found
I Googled around but couldn't find anything on this error. The Device Manager shows a yellow exclamation point.
I'm not sure if this is a device usage question or a development question. My goal is to get my phone to be available under Run As... in Eclipse.
Download and install Hi Suite. It's used for syncing Huawei devices, it'll have the driver you need.
http://www.huaweidevice.com/resource/mini/201105239635/hi_suite_en/
You must always install your specific phone USB Driver before being able to debug by USB.
So generally a " USB driver" search on Google does work.
I did it for you and found this page : http://www.huaweidevice.com/worldwide/downloadCenter.do?method=toDownloadFile&flay=software&softid=Mzk1MzA=
Is it the driver you tried ?
A more flexible way is to install the Adb Driver Installer: http://adbdriver.com/downloads/
Once you download it, enable USB debugging on your phone and plug it to your computer. Then, use the Adb Driver Installer to install the required driver. It works for any Android device! Hope this was helpful. :)
I recently found the right way to address this USB issue with Huawei.
Go to http://consumer.huawei.com/en/?method=toDownloadFile&flay=software&softid=Mzk1MzA=
Search: USB Driver
It will be the option HUAWEI Android Phones USB Driver
Make sure it is version v1[1].0 and file size 7.76 MB
Download zip, extract, proceed with usb download
Note: Make sure you debug and keep "stay awake" on before hooking up your device.

Categories

Resources