I have a strange issue where project specific root level files (.gitignore, gradlew, gradle.properties, etc) show up twice in Android Studio's project view. Does anybody know how to fix this?
I've tried re-importing the project (after deleting the .iml and .idea file/folder).
One of the best duplicate file finder application from Google, Files by Google. Files app will scan your entire device, not just your gallery, it will also check duplicate files and other clutter junk images which are covering more space in your device.
I found exactly the same problem recently when I created a new Gradle project and imported into IntelliJ. However, the root cause seems to be the use of symbolic links when importing the project.
I have the following symbolic link:
/data -> /Users/<user>/data
When I originally imported my project, I imported /data/checkouts/<project_dir>
but found that I had duplicate files from the top level directory exactly like as shown above.
However, I removed the project and attempted to import it again, this time using the full path of /Users/<user>/data/checkouts/<project_dir>
and found that I no longer see the duplicates.
I haven't seen this problem before when importing an eclipse or Maven project, so can only imagine that it might be related to the use of the Gradle plugin for IntelliJ.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With