【Android】Android(安卓)import和export使用说明 及 export报错:jarlist.cache: Resource is out of sync with the fil
16lz
2021-01-26
在Android开发export项目时发现有时会报错,内容如下:
Problems were encountered during export:
Error exporting PalmIdentify/bin/jarlist.cache: Resource is out of sync with the file system: '/PalmIdentify/bin/jarlist.cache'.
Resource is out of sync with the file system: '/PalmIdentify/bin/jarlist.cache'.
原因有的人说是文件不同步的问题,也即在eclipse之外对文件进行了修改。但我的工程并没有在eclipse之外改动。
解决方法:点击eclipse上面的project--clean一下就OK了! 或者刷新一下项目!
也有人导出项目再导入时报错一大堆,这里记录下流程。
export流程:
右键项目--export---general--archive file----点击next,然后点browse选择路径,有两种压缩方式。如下图:
import流程:
事先将上面的压缩文件放在/home/yan/download路径下,然后解压。(记住一定要先解压,且这个目录是除android工作空间外的目录)
然后在左边栏里点import---General---Existing projects into Workspace---next,选择上面压缩文件解压缩后的目录,勾选 Copy projects into workspace。就ok了
更多相关文章
- View的绘制流程梳理
- Android(安卓)Studio 项目模板修改
- Android(安卓)手机灭屏流程分析详解
- Android(安卓)7.0后访问文件权限:android.os.FileUriExposedExcep
- Android(安卓)TV 键值修改流程
- Android点击事件分发流程
- Android(安卓)—— Studio导入Eclipse项目方法以及出现的问题
- ADB工具的使用
- 清理/data/data目录下的本地文件