Get Eclipse to Recognize Your Android Device

I'm testing the waters of Android development. One of the first roadblocks was testing the app on the device (ie, without an emulator) using Eclipse's "run" icon. When I first plugged in my phone (via USB) and clicked "run", among the list under "Choose a running Android device" was a single listing with a bunch of question marks ("??????????????") where there should have been a serial number. The "OK" button was greyed-out and I was stuck. To solve this, I first ensured the "adb" command was added to PATH. I added the following to bash.bashrc: export PATH=$PATH:/home/my_username/android-sdk-linux_86/platform-tools/ On my phone, I went to settings > applications and checked "USB debugging". Then in the terminal I ran adb wait-for-device, plugged in my phone, then ran adb devices. Sure enough, my HTC Droid Eris now has a serial number and will run from Eclipse. Now I need to figure out why my app keeps force closing. If you don't need to debug, read my previous post about using Dropbox to install an apk file.
Alan 23 May 2011