5

I have a big problem with android studio. Now I'm working on a project and I have to pair the repository from github to android studio.

The connection and the clone of the folder went well. I can't display all the files and folders from the tab on the left side enter image description here

It says "Nothing to show" although I should see the file listing. How can I get it back?

  • it seems to be that AS doesn't import your project properly – piotrek1543 Jan 25 '16 at 21:59
  • delete your project, clone it into the other folder, open Android Studio, then New -> Import Project it should ask you about Gradle ;-) – piotrek1543 Jan 25 '16 at 22:03
  • @piotrek1543 I need to import from github, all the procedure of import went everytime well..the problem is after.. – Giovanni Giampaolo Jan 25 '16 at 22:13
  • @piotrek1543 Also if I download the zip of the all repository it give to me the same problem. – Giovanni Giampaolo Jan 25 '16 at 22:14
  • may I see this github repository? I said clone it to directory - do not import it directly form ANdroid Studio - see your imported project is not configured – piotrek1543 Jan 25 '16 at 22:44
4

I had the same issue, That the Android Project view is empty.

What i did was clicked on the Gradle menu option on the right side in Android Studio and clicked the Refresh button there, after the Android view looks correct.

| improve this answer | |
  • It was a problem with iml file check also the workspace.iml and the Android manifest – Giovanni Giampaolo Feb 19 '16 at 23:49
0

Go to File -> Close Project, and next select "Import project" not "Open project".

| improve this answer | |
0

Sync Project with Gradle files.

There is a useful shortcut Ctrl + Shift + A, after which a window appears and you can type some text like "sync" in there and it will find that command Sync Project with Gradle Files. Just execute the command.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.