How to recreate a project in Android Studio after losing the .idea folder?

picardo

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.

enter image description here

What can I do to recreate the project?

CommonsWare

Try Tools > Android > Sync Project with Gradle Files. If nothing changes when that process seems complete, close and reopen the IDE.

If that still does not help, close the project via File > Close Project, go into the project directory using your development machine's file manager (e.g., Nautilus in Ubuntu, Finder in OS X), and delete the .iml file. Then, import the project using "Import Non-Android Studio Project" from the welcome dialog that appeared when you chose Close Project earlier.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to recreate a project in Android Studio after losing the .idea folder?

From Dev

Commit Folder Android Studio Project

From Dev

Commit Folder Android Studio Project

From Dev

Problems with android studio "Project View Tool Window" after moving project folder

From Dev

open project folder from android studio?

From Dev

Manifest Folder in new android studio project

From Dev

There isnt menu folder in android studio project

From Dev

There isnt menu folder in android studio project

From Dev

Import Intellij project folder to Android Studio

From Dev

Hide a folder in android studio project view

From Dev

How do I make IDEA/Android Studio recognize my unit test folder when using Gradle?

From Dev

How do I make IDEA/Android Studio recognize my unit test folder when using Gradle?

From Dev

Android database - recreate after update

From Dev

How can I move a project in Intellij IDEA CE 14 (OSX) without losing my settings/history?

From Dev

How to expand folder branch in Project Window Intellij IDEA?

From Dev

How to push project from android studio into specific github folder in existing repository?

From Dev

How to bypass Visual Studio's F# project folder limitations on Xamarin.Android?

From Dev

How to add this folder that have some aidl files to my project in android studio?

From Dev

How to push project from android studio into specific github folder in existing repository?

From Dev

How to use the copied line reference after "Copy Reference" in Android Studio or Intellij IDEA

From Dev

Errors after creating a new project in Android Studio

From Dev

Android studio error After run the project

From Dev

Stuck in Android Studio after new project wizard

From Dev

How to recreate 'dist' folder in Loopback 4

From Dev

How to move and recreate a folder at the same time?

From Dev

How to use this project in android studio?

From Dev

How to project clean in Android Studio?

From Dev

How to rename a project in Android Studio

From Dev

How to Import A Project Into Android Studio ?

Related Related

  1. 1

    How to recreate a project in Android Studio after losing the .idea folder?

  2. 2

    Commit Folder Android Studio Project

  3. 3

    Commit Folder Android Studio Project

  4. 4

    Problems with android studio "Project View Tool Window" after moving project folder

  5. 5

    open project folder from android studio?

  6. 6

    Manifest Folder in new android studio project

  7. 7

    There isnt menu folder in android studio project

  8. 8

    There isnt menu folder in android studio project

  9. 9

    Import Intellij project folder to Android Studio

  10. 10

    Hide a folder in android studio project view

  11. 11

    How do I make IDEA/Android Studio recognize my unit test folder when using Gradle?

  12. 12

    How do I make IDEA/Android Studio recognize my unit test folder when using Gradle?

  13. 13

    Android database - recreate after update

  14. 14

    How can I move a project in Intellij IDEA CE 14 (OSX) without losing my settings/history?

  15. 15

    How to expand folder branch in Project Window Intellij IDEA?

  16. 16

    How to push project from android studio into specific github folder in existing repository?

  17. 17

    How to bypass Visual Studio's F# project folder limitations on Xamarin.Android?

  18. 18

    How to add this folder that have some aidl files to my project in android studio?

  19. 19

    How to push project from android studio into specific github folder in existing repository?

  20. 20

    How to use the copied line reference after "Copy Reference" in Android Studio or Intellij IDEA

  21. 21

    Errors after creating a new project in Android Studio

  22. 22

    Android studio error After run the project

  23. 23

    Stuck in Android Studio after new project wizard

  24. 24

    How to recreate 'dist' folder in Loopback 4

  25. 25

    How to move and recreate a folder at the same time?

  26. 26

    How to use this project in android studio?

  27. 27

    How to project clean in Android Studio?

  28. 28

    How to rename a project in Android Studio

  29. 29

    How to Import A Project Into Android Studio ?

HotTag

Archive