linux 下ADT R cannot be resolved to a variable

改用debian amd64,下载adt linux 64,一切准备后,却发现工程一直报:R cannot be resolved to a variable 


用正常的方法依然不奏效,后来又上网确认了一般的方法。结果还是一样!!

偶然,强制运行,报错:

Unexpected exception 'Cannot run program "/home/xx/tools/adt-bundle-linux-x86_64/sdk/platform-tools/adb": error=2 No such file or directory' while attempting to get adb version from /home/xx/tools/adt-bundle-linux-x86_64/sdk/platform-tools/adb


去对应的目录下面看,adb明明呆在那里,怎么会报这样的错呢?不过,也发现adb显示的类型不是可执行类型。上网搜索才知道,缺少了对应的lib:

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5



参考资料:

http://stackoverflow.com/questions/13571145/android-adb-not-found

你可能感兴趣的:(android,环境搭建,debian,eclipse,android)