yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Delvorak:
I'm having similar issues on Windows 7 32 and 64 bit. I'm using the 2.3 tools.

The interesting thing is that ADB only crashes when I try to run (not debug) one particular application (one I wrote) inside Eclipse. I have 3 other projects that work just fine, no crashing.

Even with the one app, it starts out working ok, then it'll start crashing when I try to run it, and then it'll crash anytime eclipse is up and that program is running on the phone!

Completely wiping the data partition fixes it for a while, but that's obviously a crappy solution.

Wiping the Cache/Dalvik Cache doesn't do anything.

Wiping the data for the com.android.debugtool (is this even related to ADB? seems too coincidental) doesn't do anything.

Uninstalling, or just killing my app on the phone, stops the crashing, until the program is installed, or starts, again.

Turning off and on USB Debugging a few times seems to sometimes help, but only for a while.

Rebooting also can help stop the crashing for a while, but not every time.

I turned the logging in eclipse up to verbose, but I don't see anything in the console window that seems to offer any clues.

Is the problem with ADB, or with DDMS? (DDMS is what eclipse runs to do everything on your device, DDMS then calls ADB). Because without eclipse open, adb works fine. Or is it a specific command send to ADB through DDMS? Is there any way to find out exactly what DDMS is doing with ADB?

Does anyone know if there's another "debugging" cache on the phone somewhere that, if cleared, may fix the crashing?

Scott
[Android Software Development] edboston:
Okay. Tried it with the stock ROM/Kernel with the same results. ADB crashing. :(
[Android Software Development] NoEnd:
your reply can be summarize in few points:

1- its a library or code you used in that app that crashes ADB.exe (as u said only this app)

2- it maybe an app in the phone, the apps i suspect is SU(for rooted phones) or Whatsapp(because it's runs a service that stops as soon as the USB mode activated)

i hope this Thread doesn't die, because it's the only one on the WEB.
[Android Software Development] edboston:
One thing I checked between the v7 and v8 of the SDK is adb.exe is the same version in each of these. So the thought about the DDMB being a possible culprit is a good possibility. Because outside of eclipse debugging, I have no problems with ADB at all.
[Android Software Development] Delvorak:
If its something in my app that is causing it to crash, and it crashes at some point during the install, then wouldn't it have to be something in the manifest?

I have two copies of this project, one crashes, one (an earlier version) doesn't. Only significant difference is that the new version (which crashes) is that it utilizes wimax code and permissions. It seems unlikely to me that those would cause problems like this.

I think its far more likely that some corrupt image of the app is getting stored somewhere on the phone.

What is the "whatsapp" that you mentioned?

Can the original poster try creating a new app in eclipse, and try debugging it to see if it crashes?

Scott
[Android Software Development] Delvorak:
One other thing, the two projects I mentioned that are very similiar, they have different package names. I think that's significant, and may be why one works and one crashes (if its due to some cached data that is package specific)

Scott
[Android Software Development] edboston:
Guess that would be me, the OP. I originally posted this because I was setting up a new development environment for development and always get the ADB crash so I don't think it has anything to do with the program being developed. I don't have older versions of the SDK to test out with, but I am getting the feeling that it does has something to do with the latest SDK.

I tried debugging on a completely clean device. Everything had been wiped so I don't think it is from something being cached.
[Android Software Development] edboston:
I have had a bit more success with this. I had to reinstall the OS on my laptop and while I was at it, reinstalled the development system. Only when I was installing the USB drivers, I used the Android Composite ADB Interface instead of the plain ADB Interface version. I didn't get any errors using this so I reinstalled the drivers on my desktop with the Composite version and it has been working fine for me so far.
[Android Software Development] NoEnd:
what is a "Composite version"?? explain more please
[Android Software Development] edboston:
I have no idea. When I was selecting the driver, I had 3 choices...

Android ADB Interface

Android Bootloader Interface

Android Composite ADB Interface

I had been using the first entry and thought I would just give the other one a try. In looking at the setup info on the driver, they refer to these as a SingleAdbInterface and CompositeAdbInterface. I'm guessing the debugger needs something in the composite version the single version doesn't have.
[Android Software Development] NoEnd:
i don't know where to access what u just said, i use the drivers provided by HTC.
[Android Software Development] edboston:
You get the list when you are installing the drivers. You need to go into device manager and update the drivers. Select the google-usb drivers under the SDK. You should see the list at that point.
[Android Software Development] .alur:
Just wanted to say that switching the driver seems to have fixed my crashing problem as well :)
[Android Software Development] edboston:
That's good to hear. Seems like this small little bit of information makes a bit difference. Would have been nice if Goggle had included this little tidbit in the documentation.
[Android Software Development] NoEnd:
unfortunately i'm using the drivers provided by HTC, using Windows 7 and can't see what you guys talking about, if you don't mind, a screen shot will help very much
[Android Software Development] .alur:
I took a series of screenshots, hopefully they'll be of some help.
[Android Software Development] NoEnd:
ty very much bro, but this doesn't show for HTC drivers
[Android Software Development] edboston:
Do you have the usb drivers from the android sdk? I don't think you can use the drivers from the htc sync program.
[Android Software Development] NoEnd:
the drivers that comes with the SDK wont work, i'm using the drivers provided from the HTC developer site
[Android Software Development] edboston:
The ones that I downloaded when I updated the SDK are working fine for me. It was the ones from HTC that gave me the problems.
[Android Software Development] NoEnd:
i'll do some testing to see if it works, when i get back from work ;p
[Android Software Development] NoEnd:
still cant install them, http://img17.imageshack.us/img17/5674/999bh.png

that what show to me when installing the sdk drivers
[Android Software Development] edboston:
And you followed the steps NoEnd outlined with his post?
[Android Software Development] NoEnd:
Sir,

i'm NoEnd

when i try that guy's steps using SDK drivers i get unable to install drivers, but when i try it with the drivers provided by HTC, i get 3 options (My HTC, HTC MyTouch3G, HTC MyTouch4G).

i tried all of them and still i get the connection error.
[Android Software Development] notasimpleway:
My ADB crashes with my Evolution a lot but toggling ADB in the phone will fix it for a while.

Sent from my iPhone with the bigger Gee Bees.
[Android Software Development] edboston:
It doesn't sound like you are pointing to the SDK USB drivers. These are the steps I used to get them.

Step 1

Run the SDK Manager

Step 2

Select 'Available Packages'

Step 3

Drill down to the USB drivers. Click 'Install Selected' and follow the directions, accept licenses, and download the files.

Step 4

The files should be located in this directory. Follow the directions list above. Make sure to use the proper directory.

As I was making this reply, I noticed that there was a new update to the SDK. The steps should still be the same. The key is to make sure you are pointing to the right drivers. With the list of options you showed, it does not sound like you are pointing to the SDK drivers.
[Android Software Development] edboston:
Okay. I give up. I have a few choice words I would like to use but don't want to get banned from the board.

I went back today to try doing some work and the crashing problem is BACK! Grrrrr!!! Going to stick to developing on my Linux system. Google just doesn't seem to care about Windows developers.
[Android Software Development] NoEnd:
PROBLEM SOLVED YAAAAAAAAAAAY;

http://xdaforums.com/showpost.php?p=10054771&postcount=271
[Android Software Development] pcm2a:
Not for my Thunderbolt those steps did not resolve the problem. Before rooting the thunderbolt Eclipse + ADB worked great. After rooting I get the ADB crashes everyone else got.

I have installed the HTC Sync drivers and ADB crashes. Then I upgrade the drivers to the newest Google USB drivers, still crashes. ADB through a dos prompt works perfectly at all times, it is just through Eclipse.

I'm about to try some custom roms to see if it makes any difference. If my options are 1.4ghz super fast rooted phone or to be able to do development, I'll have to choose development :-(
[Android Software Development] MacDegger:
Just to get this further out there:

Using winxp sp3, when trying to use google's usb drivers, I always got "these drivers don't contain info for your hardware" with a single OK button. I couldn't install the google usb drivers.

So I checked the device info of what was connected (HTC phone, or something) by going to the device manager, selecting the phone, rightclicking to properties/details and noting the device ID.

Opening up android_winusb.inf, I checked out the format of the few other phones (my DHD wasn't listed), copy/pasted one of them and renamed the name up top to HTC Ace. Then I changed the USB/PID lines to the lines I'd found in the previous step, using the same format (you cut off a bit after the PID). You do this under the heading of the cpu you have.

In my case I added the following to [Google.NTx86], under all the rest of the items:

;; HTC Ace

%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0CA2

%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0CA2&MI_01

%SingleBootLoaderInterface% = USB_Install, USB\VID_0BB4&PID_0CA2

Now, after installing the modded android_winusb.info file (right click on it and click on INSTALL) I could finally plug in my DHD, go into Device Manager and 'update' the driver to the composite ADB device.

Now the only problem I have is that the usb mass storage device (my phone's SDcard) registers as a HTC USB device and I can't seem to get it to use google's USB drivers. I think that that is still causing me troubles with ADB and DDMS: I just can't debug programs on my device :(
[Android Software Development] Delvorak:
Hey guys, if your ADB is crashing in eclipse, check out this link:

http://code.google.com/p/android/issues/detail?id=12141

One of the posts has an altered version of adb.exe that supports more tcp ports, and it fixed the problem for me!

Scott
[Android Software Development] TheBadFish:
Sorry for necromancy.

I was experiencing a very similar problem on my Linux machine here. I don't think it will help for you guys as you had the same problems with fresh and clean roms. But I was brought here via Google, so if somebody has the same problem that I had he will probably be brought here too.

My eclipse completely crashed when trying to access logcat. The problem was that there were too many messages stored on the device.

adb logcat in console had no problem with that bunch of messages.

I just cleaned that logcat store on the device with a "adb logcat -c" and all was fine again.
[Galaxy S I9000 Q&A, Help & Troubleshooting] TDQuiksilver:
I have recently flashed an I9000-based ROM to my Captivate (Cezar 2.2.1) and have come across a few apps that I would like to remove. They appear to be stock Samsung apps. Samsung Apps, Task Manager and Social Hub.

For those of you with the I9000: Are these safe to remove without causing any negative effect, force closes or errors? Or does the OS from the I9000 rely on these to function properly?

Thanks in advance!
[Galaxy S I9000 Q&A, Help & Troubleshooting] Ser_Bean:
you can delete apps which you dont like.. i have deleted press reader, social hub etc with titanium backup app..

samsung apps en task manager can be usefull, i dont delete this..

h ttp://tinyurl.com/233g4lc

here you can see all the apps with discription en if its removable
[Galaxy Tab Q&A, Help & Troubleshooting] codewisp:
Ever since flashing JM6, I've had problems with the Messaging app. After syncing Facebook contacts, using either adding a regular account un Settings->Accounts & Sync->Add Account or using the official Facebook app, all contacts properly sync with the photos.

I can confirm this in the Phone/Dialer/Contacts app and all my contacts are properly synced with photos. However, in the Messaging app, all icons are blank/have the head icon.

Anyone else have this issue/know a fix?
[Galaxy Tab Q&A, Help & Troubleshooting] codewisp:
Bump.

Update:

I installed Handcent SMS and it displays the contact pictures properly, synced from Facebook. I don't know what's wrong with my Messaging app. Still the same in Roto-JME.

I tried clearing the cache for the Messaging app but it only cleared the changes I made to the settings. Anyone?
[Galaxy Tab Q&A, Help & Troubleshooting] skee^:
i use syncmypix from the market to see my facebook contacs.
[Galaxy Tab Q&A, Help & Troubleshooting] codewisp:
Thanks, I've previously used syncmypix on my first Android phone, however this isn't what I want. There's obviously a problem because it used to work now it doesn't.

I don't want to install another app just to download contact photos, the Facebook app already does it for me. Handcent SMS displays them correctly, and besides, I want the photos to be on a separate contact profile -- "Facebook", I don't want them merged to my Gmail as they constantly change anyway.

The only problem is that the Messaging app doesn't display them anymore, ever since flashing JM6 and still doesn't after flashing Roto-JME.
[Galaxy Tab Q&A, Help & Troubleshooting] Raspster:
Did you merge your google contacts with your facebook ones? Usually it will choose the facebook pic by default over the google one but sometimes it will not and you need to edit the contact and tell it to make the facebook part of the contact the primary one. Then it will always choose the FB contact pic and even update as your FB contact changes their profile pic. This is for JM6 for mee too.
[Galaxy Tab Q&A, Help & Troubleshooting] codewisp:
Thanks for the reply.

By merge do you mean "sync with existing contacts"? Yes if that.

I tried what you said, even setting the Facebook profile as default over the Google one leads to nothing. Still no pic. It's weird because the contacts/phone/dialer has the pictures correctly, and so does Handcent, but not the default Messaging app.

Even the default Messaging app does not having pictures for Google contacts with pictures. Everything is blank.
[Galaxy Tab Q&A, Help & Troubleshooting] codewisp:
Bump. Anyone?
[Galaxy Tab Q&A, Help & Troubleshooting] mheloy:
did you fin the solution for this?

EDIT : I tried syncmypix, I think it works for me. except the colorize widget has problems with Messaging. Its showing Gray and White
[HD Mini General] redmannelly:
I have a problem with the memory card. I can't see my photos and videos anymore and I can't save other pictures. Also DCIM is missing, it cannot be seen as a folder but file. Any suggestion?
[HD Mini General] emrause:
put your card in a PC and run a virus scan... or if you have a backup of your files do format... or and finally maybe a Hard Reset on your device if there isn't any problem with the card.
[About XDA developers] Laurenz0908:
Hi there!

My Problem is that I can not see the Thank-Button. I know it disappears when I've made 5 "thanks" one a day, but until now I haven't made one.

Ich would really like to thank Darky for his great ROM.

Greets from Austria

Laurenz

Edit: I'm using Chromium ( the open source version of Google Chrome) under Ubuntu (Linux)
[About XDA developers] svetius:
Make sure you are using the XDA 2010 template. Also, you won't get a Thanks button until you've made 1 post.
[About XDA developers] orb3000:
On addition this above info you have only 5 thanks per day
[About XDA developers] Infoport:
I'm glad that I finally found this post-- I have been lurking, and really wondered why everyone but me could see the Thank button

(The Emperor's New Button?)

with the new forum changes, I better stop lurking, as I am mostly in the development sections and wont be able to post there until after 10 posts. :-(

William
[About XDA developers] pulser_g2:
You would be fine anyway as you registered before the change was made.
[About XDA developers] Zenirax:
The thank you and no thank you, it does not look like like like like on facebook and I like it.
[About XDA developers] IW4:
Well, that explains that. I'll just make my first post here, so I can start thanking those who have helped me...including you.
[About XDA developers] NanaSarah:
but, does the Thank button go away after x days?

I wanted to thank lopez1_de for TouchWatch2, but the thread started in 2009 and the only posts with thank buttons are the two most recent from Oct 2010 by other members, not lopez1_de.

So does the button go away on old posts or am I missing something? I'm using the current version of Firefox, and haven't got a clue whether I'm using the XDA 2010 template, what it is or where to find it.
[About XDA developers] Archer:
I've noticed this. I assume that the thanks button is only there for posts made since it became available.
[About XDA developers] NanaSarah:
Ah! That hadn't even occurred to me. (Comes from being a relative newbie.)

Thanks, johncmolyneux.

I need to track down an explanation of the Thanks button. There must have been one posted when it was started.
[About XDA developers] pulser_g2:
I believe you can only thank posts in the last 90 days
[About XDA developers] ppcjjc:
Glad I found this thread. First post here, in search of the "thanks" button.
[About XDA developers] DragonSkipper:
same here!

Thanks for the information:D
[About XDA developers] ldh37:
Cool, that answered my question and here's my 1st post so I can go thank a couple folks.
[About XDA developers] marz_xx:
Same here. This may be the start of a long thread...
[About XDA developers] babybirdhome:
And add me to the list! Since I can't thank anyone until I've made one post, thanks for posting this thread with the answer to my question about the lack of a thank button.
[About XDA developers] damacmeister:
Adding mine to the "First post in order to be able to thank" thread.
[About XDA developers] jam3s:
same here :)
[About XDA developers] Jengle:
No thanks in the android XDA app that I can find. Used it in the web version.

But thanks for the info about the limits, etc.
[About XDA developers] xnocturnal:
now that helped. was looking for the button as I am using the team whiskey rom and wanted to thank them. as well as Thank you for this info.
[About XDA developers] Pmekukka:
This explains alot

My first post to start thanking with THE button.. :)

EDIT: Still no thanks button on the post i quoted. Newer posts did get the button but not this one. Why is that? I tried deleting all browsing data and logging out and back in again but no button. Anyway, thanks.
[About XDA developers] dwells00z:
to thank

post so I can thank
[About XDA developers] jhtapia:
I was looking for it too.
[About XDA developers] Djezpur:
+1 I'd like to thank people too :)
[About XDA developers] coderiver:
Thanks for this information!
[About XDA developers] TheCalm62:
So that's how you thank people...Thanks!
[About XDA developers] blubberdealz:
thank you all
[About XDA developers] itsbeertimenow:
does anyone know if you can thank from the xda app?
[About XDA developers] AaronM7:
Yes.

10 chars
[About XDA developers] itguy3:
Thanks

I've been lurking for a long time, just registered specifically to give thanks to some devs. Appreciate the heads up on the post minimum to get the thanks button. :)
[About XDA developers] Yako Tech:
Thanks for the info
[About XDA developers] shoori:
posting for button :)
[About XDA developers] V a L y O:
Where's the thank button?
[About XDA developers] jesseelliott:
Thank you!

Guess I'll make a post here so I can have a Thanks button too :)
[About XDA developers] anuarbin:
Now I know where the thanks button went...

This forum has really helped me with my xperia x8, now faster than ever
[About XDA developers] geoffbostan:
"THANKS" for helping me figure out how to give thanks for all the awesome development work that keeps me loving my cappy. You guys rock! :cool:
[About XDA developers] Blacksceada:
Thats why i can`t use the thanks-button, too...

Thank you :D
[About XDA developers] promiseofcake:
I have over 30 and my thanks button went away!
[About XDA developers] GreenChris:
Thank for this explanation

Written with Swype Beta on Cyanogenmod 7.2(GT-S5660)
[About XDA developers] ahlulnugraha:
so if i want thank somebody here I need to post comment here first?
[About XDA developers] ltzik:
same here cant see it
[About XDA developers] promiseofcake:
Ended up seeing it next day which is weird cause I su t thank anyone but oh well!
[About XDA developers] Cabronbr:
i second that

it may be that this is yet another form of finding out if u are real and avoid a person w multiple account to keep thanking himself (or at least make him "work" for it)

Although i only had one post before this one i can already see the thanks button but i wanted to thank someone for a solution i found in this forum it was rthe reason oi joined and had to thank him by post to be able to see the thanks button its a little silly to make u post before you can simply thank someone its like putting a barrier in recognition.
[About XDA developers] huahaonam:
i can't replay in box deveplopes, click thanks button ok
[About XDA developers] andrei_sig:
Thanks for explanation
[About XDA developers] greenright:
>,< Thank Button
[About XDA developers] jhwbg:
Thanks, maybe I will see the buttons after this first post.
[About XDA developers] jackdes:
Thanks button activated!
[About XDA developers] Fahnix:
That makes 2 of us! I had been wondering why I wasn't able to Thank anyone.. ::facepalm::
[About XDA developers] :
Want that too
[About XDA developers] ViperGeek:
Thanks for the 90-day timeout tip!

I can't thank pulser_g2 with a button because his post is more than three months old. I just wanted to bump/reiterate the not-so-obvious fact that, after 90 days, you can no longer thank someone.

I seriously wanted to thank ravizzle for his Hulu Flash patch, but could not because it was too old. After troubleshooting why I couldn't Thank him for a half-hour, I found this thread ... and more specifically, pulser_g2's reply.

So ... THANKS! :)

- Dave
[About XDA developers] pulser_g2:
Hmm valid observation. When the system started, 3 months went back a fair bit.

Now it's not really so far, and looks confusing to members..

I'll bring it up.
[About XDA developers] Jedi Monkey 81:
Thanks for the good idea.:)
[About XDA developers] mortalsin:
same here!

Thanks for the information
[About XDA developers] svetius:
We've removed the restriction. You can now Thank posts even if they are very old.
[About XDA developers] cirdan222:
Thanks for this Thread. I search all the day.
[About XDA developers] tyx144:
Thanks! Now off to give thanks where thanks is due: at the Kindle Fire CM7 thread :)
[About XDA developers] asdsadas2010:
I was always wondering why i couldn't find the thanks button...this explains it, thanks man :), now i can give my thanks to the creators of the custom ROMs i used
[About XDA developers] Hoem_p:
Thanks for this yousefull Thread!
[About XDA developers] ludjer:
Ah ok now i see why i could not thank someone for a post that helped me.