在网上下载了eclipse的demo.导入android studio时出现问题.

this project refers to eclipse workspace ....

解决方法:打开要导入的eclipse项目,显示隐藏项目,删除.settings,.classpath和.project文件,重新导入即可.

分析:从网上找到一些资料,大概是.classpath配置了一些项目属性.导致跟Android studio不兼容.

Answer: There is hidden .classpath file in your Eclipse project. the .classpath file contains information that the JDT feature needs in order to properly compile the project: the project's source folders (that is, what to compile); the output folders (where to compile to); and classpath entries (such as other projects in the workspace, arbitrary JAR files on the file system, and so forth).

资料来源:https://stackoverflow.com/questions/35069321/import-eclipse-project-to-android-studio-error-this-project-refers-to-eclipse/38231608


更多相关文章

  1. 导入的android项目报错,进入一个类,显示不能导入那些基本的java AP
  2. Android(安卓)Studio将lib项目打包成jar和aar
  3. Android(安卓)之 AndroidX 库
  4. 加快Android(安卓)Studio的编译速度
  5. x4412开发板&ibox卡片电脑项目实战5-修改内核LOGO
  6. 拿来主义Android优秀开源项目(二)
  7. 全套Java、Android、HTML5、前端视频,史上最牛、最适合自学的全套
  8. 用Android(安卓)Studio打开一个存在的Flutter项目
  9. Android开源项目第二篇——开发工具库篇

随机推荐

  1. Android(安卓)Widget小组件开发(一)——And
  2. 修改Android源码的Launcher的例子
  3. Cordova实现文件创建和读写操作(支持Andro
  4. 面试官系列 - https 真的安全吗,可以抓包
  5. Android卸载监听之后访问后台或者弹出一
  6. 解决Android模拟器不能联网问题
  7. Android搜索框输入内容点击键盘的搜索按
  8. Android(安卓)小项目之---Toast对象详细
  9. 【react-natvie】react-native Android(
  10. Android相机实时自动对焦的完美实现