在android 中导入项目后 包出现错误
2012-03-19 14:26
197 查看
选中项目,右击打开Properties:
1.检查android选项页中是否勾选了project build target。
2.检查java build path 中 orler and explort 中是否勾选上了相应的android libraries。
3.打开菜单栏中windows -> preferences : java -> compiler 然后更换jdk版本,一般是将1.6换成1.5就无错了。之后可以换成1.6的。
4.检查你的Android SDK路径设置:windows -> preferences : android
5.设置你的Android SDK环境变量:在path中设置 ANDROID_SDK_HOME 值为你的android sdk目录
1.检查android选项页中是否勾选了project build target。
2.检查java build path 中 orler and explort 中是否勾选上了相应的android libraries。
3.打开菜单栏中windows -> preferences : java -> compiler 然后更换jdk版本,一般是将1.6换成1.5就无错了。之后可以换成1.6的。
4.检查你的Android SDK路径设置:windows -> preferences : android
5.设置你的Android SDK环境变量:在path中设置 ANDROID_SDK_HOME 值为你的android sdk目录
相关文章推荐
- 导入android项目出现:出现Unable to resolve target 'android-8'错误及其他的一些解决办法
- android导入项目以后出现The project description file (.project) for is missing的错误?
- android导入项目出现style错误,menu错误
- .Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
- Android Studio 导入项目 出现安装Error:Cause: failed to find target with hash string 'android-23' 等错误
- Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
- Android项目导入Eclipse出现错误解决办法
- 在android 中导入项目后 包出现错误的解决方法
- Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
- Android项目导入时,出现的Could not write file 。。。.classpath错误的解决办法
- Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
- Android Studio 导入项目 出现安装Error:Cause: failed to find target with hash string 'android-23' 等错误
- Android 导入项目时出现的各类错误
- Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
- Android开发中遇到的问题(五)——Eclipse导入Android项目出现"Invalid project description overlaps the location of another project"错误的解决办法
- 在导入eclipse项目到Android Studio出现这样的错误, 非法字符: '\ufeff' 解决方案|错误: 需要class, interface或enum,查阅后了解到Eclipse可以智
- android中导入开源项目,常出现的导致编译错误的解决方法
- android/adt导入已存在的项目_消除因版本问题出现的错误
- 导入android项目出现:出现Unable to resolve target 'android-8'错误及其他的一些解决办法
- Android导入项目出现“R cannot be resolved to a variable"错误的解决方法