我在Eclipse(在Windows 7上)中创建了一个新项目和新工作区。当我启动 Eclipse 时,我在控制台中收到以下警告:
[2014-03-04 18:59:11 - Android SDK] Warning when loading the SDK:
Warning: Ignoring platform 'android-2': build.prop is missing.
编译器显示错误:
R cannot be resolved to a variable
如何解决这个问题?
解决方案是关闭Comodo Internet Security。
或添加
android-sdkbuild-tools19.0.2aapt.exe
android-sdkplatform-toolsadb.exe
到Comodo Defense+的受信任文件列表。