T-Mobile's G1 phone (HTC Dream), using Google'...

Image via Wikipedia

Recently a T-Mobile G1 crashed repeatedly with the message “…com.android.vending has stopped working….” Symptoms included the inability to update any existing program linked to Android Market.
The solution for me was to uninstall the updates: 
  • Settings > Applications > Manage applications
  • Select com.android.vendig.
  • Click “Uninstall updates.”
  • Restart the phone.
The Android Market application, apparently proprietary, was then restored to its normal working condition.