In 1626 the family had to flee Bohemia, during the Thirty Years' War, after it had become Catholic; they settled in Freiberg, Saxony, where Andreas must have received his musical education.
Many famous musicians of the early Baroque spent time in Freiberg but it is uncertain which of them taught Hammerschmidt; at any rate he received a superb musical training while there.
Exact records of his activities in Zittau are spotty, for the documents were burned in 1757 when the city was destroyed by the Austrians in the Seven Years' War; however Hammerschmidt during this portion of his career became one of the best-known composers in Germany, and the most famous representative of the concertato style of the generation after Heinrich Schütz.
Indeed, Hammerschmidt represents the second generation of composers who distilled a native German Baroque tradition out of forms and styles imported from Italy.
Some instrumental music of his has survived in three publications; most of these are suites of dances influenced by the English style which was prevalent in the northern part of Germany at that time.