Post date: Oct 1, 2011 6:48:17 PM
It is sad how long it took me to figure this out after spending the last few years on a linux machine.
So, I was having problems last night with a really dirty SQLiteDatabase and figured that it would just be easier to drop it and recreate it. Well, dropping the table ended up causing more problems and i had to go into the adb shell to see if the db file still existed.
I search and everyone just said, "Easy, just open adb shell in the console and navigate to /Android/android_sdk/tools" (or something). After first recognizing that the console on a Mac is called "Terminal," i navigated to where i needed to be (note: apparently, this is now "platform-tools" rather than "tools") and typed "adb shell"
the Mac responded: -bash: adb: command not found
well, fk you i thought. i just lsed the subdirectory and saw it there.
after trying it a few more times, i remembered through the haze of wine that Mac is really unix beneath it all and added the ./
So... the lesson learned is: to run adb on a mac (or linux) you must type
./adb shell