Import of gradle project fails (no errro message) - Logfile shows Exit Code 1
Answered
I am trying to import a java / gradle project.
The import job scans the repository, finishes and then nothing happens.
The log files from IntelliJ shows the following entry:
2019-10-18 17:39:21,699 [ 232421] INFO - ide.actions.ShowFilePathAction - Exit code 1
2019-10-18 17:40:05,414 [ 276136] INFO - ide.actions.ShowFilePathAction - Exit code 1
2019-10-18 17:40:06,471 [ 277193] INFO - rationStore.ComponentStoreImpl - Saving Project 'D:\Repos\... took 13 ms
2019-10-18 17:40:06,499 [ 277221] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 168 ms
Please sign in to leave a comment.
Does https://youtrack.jetbrains.com/issue/JBR-1721 look like your case? Are you in macOS Catalina?
No, I am working on Win 10.
Please describe the exact steps you perform to import the project or capture a short video. Upload it together with all the logs (Help | Compress Logs and Show in ...) at https://uploads.services.jetbrains.com/ and provide the file name here.
I have uploaded two files:
IntelliJ IDEA 2019-10-19 09-07-20.mp4
idea-logs-20191019-091037.zip
Please note that the video recording does not show all steps.
1. Open file or project
2. Selection of local repository folder
3. Import sequence starts (visible in the video)
4. Import is apparently ending (however with no import having actually happened.
The video is not clear, it doesn't show which dialog option is used for import and which file you are selecting.
Please make sure you import the project from the Welcome Screen using Import or Open and then point to build.gradle file.
As requested I am now using the welcome screen instead of Open ... (please find the screenshot below)
After Scanning nothing happens.
Do you have build.gradle in a directory that you select? Please show the screenshot from the Windows Explorer. Do you select build.gradle file or a directory?
It does not matter if I open the folder or the build.gradle file, the results are the same.
See screenshot on the directory:
Here is how it works for me:
Please upload the video showing how the same steps are followed on your system and what happens as a result.
Thanks very much indeed. This way the import worked.