1. 程式人生 > >uses a non-standard layout and cannot be attached to this project

uses a non-standard layout and cannot be attached to this project

問題:我嘗試在同一個視窗中開啟其他專案時或者新建一個專案時會彈           出一個彈出視窗(它提供了在新視窗中開啟或在當前視窗中開啟的選           項)。

解決方案:我發現新專案在新專案的.idea資料夾中沒有.iml檔案。 我從另          一個專案中複製並貼上了.iml,只是更改了.iml檔名以匹配專案,            問題就解決了。