I think I have solved my own problem...
Notice the #AdditionalJar statements in the screenshot. There are spaces after the last colon. I removed them and now it seems to be working ok. I think this happened when I formatted the text using
Mashianes VScode extension (excellent work by the way!)
So it should be like this:
#AdditionalJar: com.android.support:support-v4
#AdditionalJar: com.google.android.gms:play-services-location
#AdditionalJar: com.google.android.gms:play-services-maps