码迷,mamicode.com
首页 > 其他好文 > 详细

pycharm the project at uses a non standard layout and cannot be attached to

时间:2017-07-25 12:34:38      阅读:1194      评论:0      收藏:0      [点我收藏+]

标签:rom   version   and   source   folders   ril   http   name   内容   

参考下面的 Ntj45的回答

https://intellij-support.jetbrains.com/hc/en-us/community/posts/205408470-Multiple-projects-inside-one-window-idea-uses-a-non-standard-layout-and-cannot-be-attached-to-this-project-

附原始答案:

I had the same problem for two times, at different folders. sometimes, re-cloning directory from git can solve this; but you can solve it manualy. That problem is caused by the lack of projectName.iml folder (your project name at place of projectName) in ".idea". you can just create a new project, and copy its new_projectName.iml file (your new project name at place of new_projectName) and change its name to projectName.iml (your project name at place of projectName). Then, it will work.

 

下面是 projectName.iml文件中的内容,pycharm版本是

Build # PY-171.4163.6, built on April 11,2017

<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

 

pycharm the project at uses a non standard layout and cannot be attached to

标签:rom   version   and   source   folders   ril   http   name   内容   

原文地址:http://www.cnblogs.com/lvxiaobo616/p/7233272.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!