The following is the .gitignore file for my Android development in Android Studio. This is what worked for me, but if anyone has additional input that's welcome too.