转自:http://yxwang0615.iteye.com/blog/1849965
遇到android项目导入出现后重复空包等错误,往往是导入的java编译级别有关,点击项目properties->
java Compiler ->修改Compiler compliance level 一般是1.6。
修改完成clean项目之后,往往还会遇到:
gen already exists but is not a source folder. Convert to a source folder or rename it的错误。
遇到这个问题的解决方法:
1. 右键点击工程,选择 "Properties"
2. 选择左边的 "Java Build Path"
3. 打开 "Source" 标签面板
4. 点击 "Add Folder..."
5. 勾选 "gen" 文件夹,点击OK,点击YES,再点击OK
6. 最后右键点击工程,选择 "Andriod Tools" 里面的 "Fix Project Properties"
出现这个问题的原因是classpath文件出错,这个文件存在于项目根目录下,是eclipse自动生成的,它定义了你这个项目在编译时所使用的$CLASSPATH,一般不需要手动配置。如果出错,也可手动修改:
-
<?xmlversion="1.0"encoding="UTF-8"?>
-
<classpath>
-
<classpathentrykind="src"path="src"/>
-
<classpathentrykind="src"path="gen"/>
-
<classpathentrykind="con"path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
-
<classpathentrykind="con"path="com.android.ide.eclipse.adt.LIBRARIES"/>
-
<classpathentrykind="lib"path="libs/ksoap2-android-assembly-2.5.8-jar-with-dependencies.jar"/>
-
<classpathentrykind="output"path="bin/classes"/>
-
</classpath>
从数据上我们容易看出,上面描述了工程的依赖文件:
源文件的具体位置(kind="src")
运行的系统环境(kind="con")
工程的library的具体位置信息(kind="lib")
项目的输出目录(kind="output")
分享到:
相关推荐
golang 错误提示 $GOPATH/go.mod exists but should not goland 出现该问题 去掉vendor即可 初出茅庐有错必改 欢迎交流
VirtualBox中报Unable to load R3 module....错误时,使用此文件代替C/Windows/System32/uxtheme.dll文件即可,以防万一,可对源文件进行备份。
启动MySQL出错,查看了下状态,发现提示MySQL is not running,but lock exists: 一个网友说可能和log文件有关,于是将log文件给移除了,再重启MySQL终于OK了找了下资料,基本上都是说: 代码如下: # chown -R mysql...
not exists:与exists相反,括号内子查询sql语句返回结果为空(即:sql不返回的结果为真),子查询的结果为空则条件成立,执行主slq,否则不执行。 总结:exists 和not exists语句强调是否返回结果集,不要求知道返回...
exists 和 not exists的详细解释
在linux开发板上,arm开发板上,运行frp,报错[ssh] start error: proxy name [ssh] is already in use 原因是有其他的设备运行过[ssh]命名的子项,并且没有关闭frpc进程。其实就是名字[ssh]冲突了。 解决方法: ...
NOT IN、JOIN、IS NULL、NOT EXISTS效率对比 语句一:select count(*) from A where A.a not in (select a from B) 语句二:select count(*) from A left join B on A.a = B.a where B.a is null 语句三:select ...
主要介绍了Eclipse 出现A configuration with this name already exists问题解决方法的相关资料,需要的朋友可以参考下
关于Exists,not Exists.in ,not in效率的说明。关于Exists,not Exists.in ,not in效率的说明。关于Exists,not Exists.in ,not in效率的说明。关于Exists,not Exists.in ,not in效率的说明。关于Exists,not Exists.in...
MySQL优化之in,exists,not in,not exists的区别in与existsin查询过程结论:exists查询过程:结论:not in与not existsnot in查询过程:结论:not exists查询过程:结论: 首先我们使用两个用户表作为实例 insert ...
socat做数据流量中转,与iptables的forward功能有的一拼,但socat更方便,稳定性更高
Eclipse初始安装配置及常见问题总结
如果以前安装过mysql,卸载重装,很可能会碰到”A Windows service with the name MySQL already exists.“这样的提示。即服务已经存在。 我们可以在window任务管理器—-服务中查看,发现确实存在,没有卸载干净。 ...
这是一个navicat激动工具的全套装,本人亲测可用哦。大家放心下载,纯绿色无毒的哟。下载文件后参考我的博客进行激活:https://blog.csdn.net/zeng308041977/article/details/81662189
Vitamio缺少的libffmpeg.so文件 解决 Native libs libffmpeg.so not exists!报错
Create your own native Android app with nothing but JSON. Then send it over the Internet. Looking for an iOS version? See here ★ Jasonette fetches this JSON markup from a server: ★ And self-...
搭建FTP,解决虚拟机的文件保存及与真机文件相互访问问题
非上传者作品。本人只是学习的时候百度到的比较的文档,拿出来和大家分享一下,希望对大家有所帮助!
这个gem确实完成了两件事: 选择每个具有特定关联对象的模型对象选择没有任何关联对象的每个模型对象它使用SQL 来快速完成它,并使用where_exists和where_not_exists方法扩展ActiveRecord,以使其使用变得简单明了。...
基本数据插入 except和intersect和exists和not exists和union和union all sql server