Galaxy Gear not recognized by adb and odin after last update - debugging

Today I updated my galaxy gear to latest version and since then adb and odin are not recognizing it. I tried almost everything, changing cable, restarting, usb debugging on/off, i have no idea what could it be.
ADB always returns an emtpy list on "adb devices" and error:no device on adb:shell.
Any idea?

If anyone has a problem to this, I solved it. As I updated my Galaxy Gear from android to Tizen OS, Gear is no longer listed as an android device and you can not see it by running adb command, instead you can see it by running sdb command( its available once you download tizen SDK for wearable).
I downgraded from Tizen OS to Android OS via this method without any problem because I wanted to be able to run full APKs on my Gear.
http://forum.xda-developers.com/showthread.php?t=2776157
Cheers

Related

Android Studio: Android 5 lollipop can't install and launch App

I have 2 real android devices and I used them to test my android app (I am new at Android programing)
When I clicked "run" button, the dialog box showed me two of my devices:
Table 4.2.2 and Cellphone 5.0
After running, my tablet launched the app perfectly, but my phone (5.0) wouldn't launch, it even wouldn't install new app, I tried many time, and finally it run, but at the later time, I needed to remove previous app to run new app.
Please help me to resolve this problem.
Well, you have to remove the old version of your app all the time? If yes, you should use a keystore file for signing the app (and always the same). My device also refused to update an app because I didn't sign it with a keystore file. (I have one device with Android 5.1.1 and one with Android 4.2.2, had the same issue with the 5.1.1 one until I signed it)

Issue setting up the development environment for ProjectTango developemnt Device

I have a Project Tango development Kit. I am interested in working on the depth data from the sensors.
I have ADB setup on my machine. But the Eclipse android emulator doesn't detect the Tango Development tablet.
Can anyone suggest me how to set things up for the device!.
Thank you in advance.
Please ensure that USB debugging is enabled in order to enter ADB, go to Settings > About tablet > Build number and then press Build number seven times. Then press back and go to Developer options > USB debugging.
Go to your device manager (if on Windows) and look for Android Composite ADB Interface (under Android Device).
I found the driver for this at http://developer.android.com/sdk/win-usb.html
Right click Android Composite ADB Interface, go to the driver tab, and click update driver. Then select Browse my computer for driver software and point it to the location where you extracted the usb driver package.
After doing this confirm that ADB can see your device by opening a command prompt, navigate your android sdk folder, and then go into a folder called platform-tools. Then run the command "adb.exe devices". If the tango is listed there then your drivers are correctly installed and adb can see the Tango.
I had the same issue on Windows 7 and it only saw the Tablet as a storage device. I had enabled developer options in the tablet as described above, but I had missed the step on turning on USB debugging. The moment I did that it appeared as a ADB device and I installed the Google USB driver and then I could see it and deploy onto it from Android Studio.
I previously had issues with the Peanut but if you followed the instructions for that EXACTLY it would work You have to specify the device driver file exactly,
not let windows chose one for you or let it tell you that its driver is better :-)
You need to update the driver in your device manager.
Click start
Right-click "Computer"
Select "Manage"
Select "Device Manager"
Find your device
Right-click "Update Driver Software"
Choose "Browse my computer"
Now search for the Android SDK you installed (on mine it is in c:\users\MyName\AppData\Local\Android\SDK) and select the sub folder Extras\Google\USBDriver

Unfortunately app has stopped Android emulator [duplicate]

This is pretty simple: I'm using NetBeans on Linux with Android emulator 1.6. I have Logcat on my android phone, but the process of getting the messages to somewhere readable isn't smooth at all.
Can someone tell me how to get Logcat running on the emulator? Is there anything I can do to see debug messages other then having to copy the apk to my phone and testing it?
Thanks in advance!
You have a few options for viewing the debug log output, assuming you have the SDK installed and your command path set up correctly:
Type adb logcat. The log output from the connected device or running emulator will appear. I usually prefer adb logcat -v time to see the time stamps.
Type ddms. This launches the stand-alone version of DDMS. It has a logcat display at the bottom.
Install the ADT extension for Eclipse, and open the logcat view. (Since you're using NetBeans I assume this isn't what you want to do, but I'm mentioning it for completeness.)
In all cases, the interaction is the same whether you're using a physical device or software emulator, because the ADB daemon conceals the details. Whatever you're doing for the device is also expected to work for the emulator.
If you have a device and emulator connected simultaneously, you can use adb -e logcat for the emulator and adb -d logcat for the device. From stand-alone DDMS or Eclipse, just pick the device or emulator from the pop-up menu.
If you have setup nbandroid you can find the adb logcat viewer in netbeans under:
Window -> Output -> ADB Log
--edit
Just followed up on the post above and started using C:\Program Files (x86)\Android\android-sdk-windows\tools\ddms which is alot better then the one in netbeans.
The SDK comes with a handy tool called ddms it should be in the tools folder of the SDK.
At the moment an Emulator is running, or a mobile phone is connected to your machine it should show up in ddms and you can see all the log output in ddms.

App suddenly will not run on device

I have been running an app on my ipod that I've been developing for a while now and all of a sudden it won't run. I haven't changed xcode or macos; I've deleted the derived data folder; I've restarted the device, computer and xcode and cleaned.
The error I'm getting is: "could not start debugserver on MyDevice when trying to launch My.app"
My provisioning profile and device are green. I can't understand what I could possibly have changed.
Any ideas?
Thanks.
Restart Xcode and the device and you should be fine.
just CMD+shift+K, clean you project. when it's done, it should be work. at least for me.
Try deleting the installed application from your phone. That worked for me as none of the above methods did.
I had this issue while I was testing iOS beta. I updated iOS version on device and I had to restart xcode and then reconnect to
Restart xcode.
Unplug iPhone/iPad from usb cable (If connected with usb cable).
Turn off wifi and connect again (If you are using wifi debug).
Clean project.
Run your app again.

Android: Within Android Device Chooser the same device shows up several times

I am using Eclipse to program for the Android OS. I use a real device to test my application on.
To test my application I click on run, then the target project i wanna run and then the Android Device Chooser pops up, where I can choose the device or emulator that I want to run the application. (like probably every programmer here).
But sometimes when my app crashes because of some exception, the Android Device Handler gets some weired behavior. Now everytime I connect my device to the computer via USB a new device shows up in the Android Device Chooser, but all them (which are the same) are "unknown", so I cant use my device for testing anymore.
(source: yfrog.com)
The only way to solve this is by restarting my computer. Isnt there any other way to solve the problem? Am I missing something?
In your command line. (assuming ADB is on your path)
Try:
adb kill-server
adb start-server
adb devices
Unplug the device from the system.
Restart the eclipse IDE.
Goto the device development setting, uncheck and then check the USB debugging.
Issue will be resolved.

Resources