Eclipse导入其他Eclipse写的Android项目error:Activity cannot be resolved to a type
2017-06-13 17:41
417 查看
1、在使用Eclipse导入Android项目的时候 出现Activity cannot be resolved to a type。这大概是因为Eclipse没有Androidsdk的原因。首先看下Eclipse是否能new一个Android项目;如果不能,就要集成AndroidSdk或者下载一个Eclipse for Android;
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/R/eclipse-android-neon-R-incubation-win32-x86_64.zip
2、Eclipse遇到Unable to resolve target 'android-23'等类似问题:使用Eclipse上的图标一个有下载箭头的小手机图标sdkmanager下载需要的版本;
待更。。
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/R/eclipse-android-neon-R-incubation-win32-x86_64.zip
2、Eclipse遇到Unable to resolve target 'android-23'等类似问题:使用Eclipse上的图标一个有下载箭头的小手机图标sdkmanager下载需要的版本;
待更。。
相关文章推荐
- 导入到eclipse中的项目报错 XXX cannot be resolved to a type
- 导入到eclipse中的项目报错 XXX cannot be resolved to a type
- eclipse新导入的项目经常可以看到“XX cannot be resolved to a type”的报错信息
- Maven项目中提示:Eclipse “cannot be resolved to a type” error
- 关于AndroidStudio项目转换Eclipse项目报错“AppCompatActivity cannot be resolved to a type”
- java 项目导入Eclipse时出现错误:httpservletrequest cannot be resolved to a type
- Android Eclipse导入源码时对自己新增的class文件提示"XXX cannot be resolved to a type"的解决办法
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- Eclipse “cannot be resolved to a type” error
- eclipse,myeclipse导入工程报:javax.servlet.jsp.JspException cannot be resolved to a type
- Eclipse “cannot be resolved to a type” error
- 添加到eclipse的现有项目为什么会全线飘红 String cannot be resolved to a type
- Eclipse luna 导入web项目出现错误 String cannot be resolved to a type
- Android项目中导入他人写的部分文件后出现:R cannot be resolved to a variable
- Android导入的项目再次启动eclipse时提示The import android cannot be resolved的解决办法
- Android导入项目出现“R cannot be resolved to a variable"错误的解决方法