1

In Android Studio,I added .so files to VCS, but every time I click on the .so file, it will show the file diff,which is very slow.How can I disable diff .so files without add .so files to .gitigore?

so file difference showed in Local Changes

GS.
  • 73
  • 1
  • 8

1 Answers1

0

Check first if Ansroid Studio would respect .gitattributes directives.
Since you can excludes files from diff through said directives, add in a .gitattributes file:

.so -diff
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • It seems dosen't work. I don't know how to check if Android Studio would respect .gitattributes directives. – GS. Nov 06 '20 at 01:50
  • @GS. Can you try and add, commit and push that .gitattributes, then clone again the same repository in a different folder, and see if an Android Studio session (using that new clone) still have the same issue? – VonC Nov 06 '20 at 07:28