Aandroid Error之 新导入工程报Unable to resolve target 'android-18'和R cannot be resolved
2016-08-05 06:11
344 查看
有段时间没有写安卓了,今天导入以前的项目,结果看到控制台打印出了这样一句:Unable to resolve target 'android-18',
解决方法:
项目->属性->Android->Project Build Target 选择android 4.4Target,保存。结果原来报的一大堆错误消失了,只剩一个错误,R cannot be resolved然后点project->clean,如图。结果错误就消失了.
解决方法:
项目->属性->Android->Project Build Target 选择android 4.4Target,保存。结果原来报的一大堆错误消失了,只剩一个错误,R cannot be resolved然后点project->clean,如图。结果错误就消失了.
相关文章推荐
- 导入工程的“The import android cannot be resolved”错误解决方法
- Android导入工程的“The import android cannot be resolved”错误解决方法
- 导入工程的“The import android cannot be resolved”错误解决方法
- ADT导入Android工程,提示import android.content cannot be resolved
- 导入工程的“The import android cannot be resolved”错误解决方法
- android 导入工程出现很多错误 cannot be resolved
- 导入工程的“The importandroid.os cannot be resolved”错误解决办法
- Eclipse导入其他Eclipse写的Android项目error:Activity cannot be resolved to a type
- 导入工程的“The import android cannot be resolved”错误解决方法
- 导入工程“The import android cannot be resolved”错误
- Android Error:main cannot be resolved or is not a field
- Eclipsr导入一个android新项目后出现 The import java.io cannot be resolved
- Eclipse使用网上工程出现错误“The import android cannot be resolved”错误解决方法
- Android Error:main cannot be resolved or is not a field,异常语句:setContentView(R.layout.main);
- Android项目中导入他人写的部分文件后出现:R cannot be resolved to a variable
- Android Question - “Id cannot be resolved or is not a field” error?
- Android Eclipse导入源码时对自己新增的class文件提示"XXX cannot be resolved to a type"的解决办法
- 关于eclipse导入工程出现“SystemProperties cannot be resolved”时的解决方法
- Android工程编译错误:The project cannot be built until build path errors are resolved
- android新建工程R报错或者R cannot be resolved to a variable