gitignore - What is "deviceStreaming.xml" in Android Studio? - Stack Overflow

admin2025-04-15  0

This file

[ProjectRoot]/.idea/caches/deviceStreaming.xml

doesn't get ignored by git-VersionControlSystem when I add the

".idea" line to ".gitignore"

Also, the file "deviceStreaming.xml" gets changed every few hours even if I test on the same Android Emulator. What is that file and how can it be ignored by Git?

This file

[ProjectRoot]/.idea/caches/deviceStreaming.xml

doesn't get ignored by git-VersionControlSystem when I add the

".idea" line to ".gitignore"

Also, the file "deviceStreaming.xml" gets changed every few hours even if I test on the same Android Emulator. What is that file and how can it be ignored by Git?

Share Improve this question asked Feb 4 at 14:28 A.G.A.G. 2,1175 gold badges31 silver badges40 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Try adding this line to .gitignore: .idea/caches/deviceStreaming.xml

or this .idea/

if it still tracks that file, it may be that you have tracked that file before and need to run git update-index --assume-unchanged .idea/caches/deviceStreaming.xml (source)

Not sure what that file is or why it changes so much tho

转载请注明原文地址:http://www.anycun.com/QandA/1744713377a86587.html