ADB is not recognizing my tablet ("waiting for device") - java

I have windows 7 64 bit and Android Debug Bridge version 1.0.26. My tablet is view pad 7
When I connect it with my computer it shows
usb debugging connected
But when I write adb logcat
it shows me
waiting for device -
When I connect my htc phone with the same computer and type
adb logcat
it shows me the log of my phone. Basically I think it something related to driver as the device is connecting properly but not showing me the logs.
I have also tried this with motodev and found same results.

Go to settings, development > enable usb debugging. If it's not there try REMOTE ADB. It's on the market for free, it works via WIFI.

Related

How to connect android devices to vs code in flutter for check the code?i turned on debugging too

I am stuck here. I connect a USB drive from my laptop to the android device but still vs code shows no device. Image Attached
Considering that you have successfully installed Flutter and Dart and their respective VS Code Plugins.
There are 2 ways to do it
If you have a physical Android Device, you must enable USB debugging on your device and then you can connect it directly to your machine. Once the device is successfully connected and detected by your machine, then its name would appear on bottom right corner in VS Code window.
If you don't have a physical device, then you must create an emulator image of Android platform of your choice. The emulator image must be created from AVD manager present in Android SDK. Once the AVD image is ready and running, the name of the AVD would appear on bottom right corner of VS Code window.
If you see your device name on bottom corner of VS Code, then press F5 and wait for the app to load on the device/emulator.
There are basically two ways before the app is released.
USB Debugging
Wireless Debugging
Connect via USB: adb tcpip 5555
Disconnect USB, Get Phone Ip Address Settings > About Phone > Status.
Now adb connect <Your IP Address>
Refer:
How to connect a device with ADB over WiFi when making app with Flutter?
https://appmaking.com/run-flutter-apps-on-android-device

Android device disconnect from adb when launching app from eclipse

I have a OnePlus X device, which I use with Eclipse for debugging my apps. I had a Nexus 4 which worked perfectly.
I have a late-2012 macbook pro, and I tried to plug my device directly in the usb port of the computer, and with an external alimented hub.
When I plug my OnePlus and I use the command "adb devices" I can see my device. Troubles comes when I run the Android app from eclipse... At this point, my device is disconnected and the app is not launched. And I can't see my device anymore with adb device. All I can do is restarting the adb server, but it will still disconnect after I tried to run the app in Eclipse
I tried different cables, different usb in, but nothing change.
Anyone has a solution ?

Cordova Android Development: Looking for OTG cable options for debugging with peripherals connected

I'm developing a Cordova Plugin for Android that interacts with a printer connected to my Android device's USB port. I also have Ionic in the mix running a working Anular application. I have the Plugin working, but getting to that point was painful. There were many iterations of deploying the app from my laptop (using ionic run Android) swapping the otg cable out and pluging in the printer and testing.
I'm looking for a better develop/debug story. I'm planning to add additional features to the Cordova plugin and would like to find a cable configuration that lets me keep the Android device connected to my laptop while the printer is also connected the Android device.
I've tried a few different after market cables, but everything seem to only support charging the device while connected to the peripheral devices. Nothing seems to allow me to stay connected to the laptop and have a peripheral connected simultaneously.
Is anyone aware of a USB Hub, Switch or Router that could help ease my pain, or have suggestions on how I can easily debug my Java based plugin while it is connected to the USB printer. At a minimum I'd like to be able to attach a debugger to my plugin and step through the Java code.
Using an Emulator is out of the question because the performance is simply unbearable.
Sorry in advance if this question is not appropriate here.
I think I have a better solution for you, you can deploy to your device using adb over Wi-fi and keep your printer cable connected to test your app, here is how:
Connect your android device to your computer using a USB cable
From a command line run adb tcpip 1234 // or any port of your chosing
disconnect your android USB cable
run adb connect <your-phone-ip>:1234
Connect your printer using the USB cable
run ionic run android to deploy your app.
I just tested this combo with a Mac and an Android Nexus 5 and it works like a charm.

Android studio devices

Once or twice a day Android Studio doesn't recognize any devices attached to my computer. Even
adb devices
doesn't show anything. The only thing that makes my devices reappear is restarting my computer. Even
adb kill-server
adb start-server
doesn't show any devices. Does anybody know why and how I can make adb recognise my devices without restarting my computer?
Something strange with my USB port I reckon. Reinserting the cable mostly fixes the problem.
check lsusb , if your cable or usb port have problem your device does not appear
otherwise if you see your device in list and your adb devices is empty, maybe the problem is adb files config, check your VENDOR ID in adb_usb.ini , the VENDOR ID must be same as lsusb id

HTC one V is Not Connecting Via Debugger mode

I am trying to connect "HTC one V" with my Eclipse for Android Application Testing.. I followed following steps to connect my phone.
Installed Google USB Driver Package..
From Phone Settings Debugger Mode is on in Developer Options..
But still when i try to run application in Eclipse it runs in Emulator Not in HTC device.
I deleted all Emulators but still my device is not present in connected Devices.
what should i have to do now?
Here are some tips:
Enable usb-debugging.
Instal HTC phone drivers from their website.
The next step is very important: Exit HTC sync on your pc.

Categories