I have been trying to open my existing android studio project which was working perfectly fine, but now is giving me issues. I also tried to import it and the issue persisted. The APP folder on ANDROID VIEW is not expandable and when I click on it, it takes enter image description hereme to the PROJECT STRUCTURE --> PROJECT SETTINGS --> MODULES. [This is what appears after I have imported/opened my project][1]
Asked
Active
Viewed 30 times
1 Answers
0
it seems that the project is not defined to android studio as a android project .. I suggest to remove .idea folder and re-sync gradle
i faced the same issue and after a long search .. I edited /.idea/misc.xml file .. the app was read as a java module not android project.

AndDev
- 1
- 2
-
AndDev thanks for your reply, but I have deleted the .idea folder and synced project with gradle files and still the problem persists. – Yenzokuhle Mdladla Nov 02 '18 at 15:54
-
AndDev what did you edit on the /.idea/misc.xml file? – Yenzokuhle Mdladla Nov 02 '18 at 15:55