Officials said the attack appears to have been motivated by Islamic extremism.
Two airmen were killed and two others were wounded in the attack on Wednesday. One of the airmen remained in critical condition. There's still no word on the identities of the victims.
It appears the gunman had angry words with a bus that was carrying the Air Force personnel, and then started shooting.
The attacker was shouting "God is great" in Arabic as he opened fire, according to ABC News. As he was apprehended by other airmen, he continued to shout "Jihad Jihad."
The suspect was taken into custody immediately after the shooting. The attacker's family in northern Kosovo identified him as Arid Uka, whose family has been living in Germany for 40 years.
The airmen were based in Britain, a U.S. Air Force spokesman for the Lakenheath airfield in eastern England said. They were bound to Ramstein Air Base from where they were to have been deployed to support an overseas operation, the U.S. military said, without elaborating.
The Associated Press contributed to this report.