A
A
afna2015-05-22 10:51:37
Android
afna, 2015-05-22 10:51:37

Why is the project not opening on intellij IDEA?

I am creating an android project on intellij IDEA. I am creating a remote bitbucket repository. Using the SourceTree utility, I send the committed project to a remote repository, then I clone it to my pump. I'm trying to open a project in intellij. But java files are not opened as part of the project, but as independent files (marked with a red icon). If I clone I add to rap. idea/ folder. the project opens normally. But it is not recommended to add it. How then to open a cloned project without an idea folder?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergei Borisov, 2015-05-22
@sulik93

There are several options:
- Save project files in the repository (this is the worst option)
- Import it on another computer from scratch from source, as DevMan suggested (this is much better)
- Create a project based on some build system (if Android, then gradle is better ) and port it already (this is the preferred option)

P
Puma Thailand, 2015-05-22
@opium

save the idea folder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question