Issue
I have been trying to understand how Android Studio IDE works by trying out a few things. I imported one of the sample projects –– Android DataLayer –– from Google repo, and it came with a few configured modules. Then I deleted the .idea folder and wanted to open the project again, but in the sidebar panel, all I see is emptiness.
What can I do to recreate the project?
Solution
Try syncing the project with "Tools" > "Android" > "Sync Project with Gradle Files".
If nothing changes when that process seems to be completed, then close and reopen the IDE.
If that still does not help:
- Close the project via "File" > "Close Project"
- Go into the project directory and delete the file
.iml
(using your development machine's file manager e.g., Nautilus in Ubuntu, Finder in OS X). - Then, import the project using "Import Non-Android Studio Project" from the welcome dialog that appeared when you closed the project earlier.
Answered By - CommonsWare
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.