我的系统是在mac10.8.2,64位系统,在官方下载了adt bundle了后,按他的提示,这个adt bundle包已经包含了adt和eclipse了,我设置了环境变量后,命令提示符下查看java -version,adt -version都没有问题了,但是打开eclipse后,新建工程提示R文件找不到,具体是这么提示的:[2013-07-07 21:06:52 - adb] Unexpected exception 'Cannot run program "/Users/chenxx/安卓/相关软件/adt-bundle-mac-x86_64-20130522/sdk/platform-tools/adb": error=2, No such file or directory' while attempting to get adb version from '/Users/chenxx/安卓/相关软件/adt-bundle-mac-x86_64-20130522/sdk/platform-tools/adb'可见adb有问题,提示找不到版本,但是我找到/Users/chenxx/安卓/相关软件/adt-bundle-mac-x86_64-20130522/sdk/platform-tools/adb',然后双击这个文件,也能正常打开啊求救,问题出在哪了呢?
看看这个可能就是mac64位的原因,我这里mac上跑起来了
根据你的提示在platform里面adb 工具路径问题
没有mac电脑,所以不知道你有没有类似于xp的终端你如果配置路径没问题的话,adb 应该有打印信息的,如下(部分):
Android Debug Bridge version 1.0.31 -d - directs command to the only connected
e
returns an error if more than one USB
present.
-e - directs command to the only running em
returns an error if more than one emul
unning.
-s <specific device> - directs command to the device or emula
the given
serial number or qualifier. Overrides
ERIAL
environment variable.
-p <product name or path> - simple product name like 'sooner', or
a relative/absolute path to a product