When launching DDMS from the command line in Lion (10.7.3) I get the following error:
E/adb: Failed to get the adb version: Cannot run program "/Users/stevieo/android-sdk-macosx/tools/adb": error=2, No such file or directory
This makes sense to me because adb is actually in: /Users/stevieo/android-sdks/platform-tools
How can I modify this path so that ddms will launch on my system?
I have looked into the ddms file itself, but cannot decipher its intent.
One note, I do NOT have this issue on Snow Leopard (10.6.8)….
TIA for any thoughts or assistance.
Regards,
Steve O’Sullivan
If you look into your tools directory where you launched
ddms, you will see theadb_has_moved.txtwhich says:To solve this, I would change your
~/.bash_profileto have a line like:Make sure to open up a new Terminal window so it will reload
~/.bash_profileNote that a possible reason why it is working on your 10.6.8 installation is that you may have an older version of the Android SDK, where adb was in still in the tools directory.