导入工程的“The import android cannot be resolved”错误解决方法
来源:互联网 发布:oracle数据库备份 编辑:程序博客网 时间:2024/05/21 19:21
通过eclipse的import功能导入一个工程,出现了“The import android cannot be resolved”错误。其实这个错误是Android的SDK问题,设置SDK的版本就可以了。有如下方法
方法1:在project- Properties- Android中的Project Build Target里面勾选相应的SDK即可解决,这个我没试,因为里边选项是android4.4版本,看起来好不靠谱。
方法2:在根目录下xxx.properties文件,也就是属性文件,把target=android-XX改成你环境的SDK版本就ok,比如我比较懒没有查看环境版本(其实是不知道咋看。。。有谁知道麻烦顺便告知一下。。。)直接看了眼以前的项目的properties文件然后照着改成了target=android-19
0 0
- Android导入工程的“The import android cannot be resolved”错误解决方法
- 导入工程的“The import android cannot be resolved”错误解决方法
- 导入工程的“The import android cannot be resolved”错误解决方法
- 导入工程的“The import android cannot be resolved”错误解决方法
- 导入工程的“The import android cannot be resolved”错误解决方法
- 导入工程时报错The import android cannot be resolved
- Eclipse使用网上工程出现错误“The import android cannot be resolved”错误解决方法
- “the import java.io cannot be resolved”错误的解决方法
- “the import java.io cannot be resolved”错误的解决方法
- eclipse中导入一个android工程和Web工程有The import android cannot be resolved错误怎么办
- Android学习:导入工程时报错The import android cannot be resolved
- Android学习:导入工程时报错The import android cannot be resolved
- The import org.cocos2dx.lib cannot be resolved错误解决方法
- [Android开发] The import com.google cannot be resolved解决方法
- The import android.support cannot be resolved解决方法
- The import com... cannot be resolved解决方法
- 关于“The import android cannot be resolved”错误。
- The import android cannot be resolved错误怎么办
- python idle 清屏问题的解决
- Linux复习(二)
- md5
- MongoDB单机版副本集搭建--测试、开发
- 步步为营_Android开发课_番外篇[1]_AndroidManifest.xml介绍
- 导入工程的“The import android cannot be resolved”错误解决方法
- js模拟化map结构操作
- iOS开发ARC内存管理技术要点
- Oracle数据库创建用户并授权
- 图片滚动
- 华为机试题一 字母与字符串位置
- ManualResetEvent详解
- 链表性质判断
- 操作内存之栈,堆及其他