Eclipse新建工程编译R cannot be resolved to a variable问题


新建工程编译提示R cannot be resolved to a variable

Eclipse新建工程编译R cannot be resolved to a variable问题_eclipse

图1

然后打开SDK Manager管理器,下载并安装Android SDK Build-tools

Eclipse新建工程编译R cannot be resolved to a variable问题_新建工程_02

图2

然后重新编译OK