I copied the current project of Android studio into a new directory. I am using the same coding for another app.
I open the project in Android Studio, and I click on the "Java" folder, but it does not show any file inside (they appear in the hard drive).
When I click on "Refactor" on the "Java" folder, the following message appears: "Can not refactoring. The selected directory is not inside the project".
Does anyone help me in solving this, thank you
This project was imported into a non-empty directory.
The following steps:
Assume that you want to copy the project: MyProject1
-
Paste from your directory and into the empty folder.
-
Make sure that you close myProject1 from Android Studio files> Close Project
-
Open an existing Android Studio project
-
Locate the new directory, where you have pasted the MyProject1 folder, then ask " MyProject1 "folder, if there is a" MyProject1 "folder, it will not work.
-
Now select MyProject1 folder and proceed.
-
This graduate will start building build.
-
After making a successful you can start refactoring.
No comments:
Post a Comment