Thursday, February 20, 2014

R cannot be resolved. Android ubuntu

Fixing "R cannot be resolved" problem in Android ADT of Ubuntu

When I tried to install the latest Android ADT in my ubuntu 13.10 laptop, I found that annoying "R cannot be resolved" bug. And it also reports that aapt cannot find or open libstdc++.so.6and libz.so.1.

After I search the web, here is the solution I found:

sudo apt-get install lib32ncurses5 lib32stdc++6
 
sudo apt-get install lib64z1-dev