A dual-polarized, cavity-based antenna array with implemented edge-soldered transition technique is presented for 5G millimeter-wave applications. The working band of the proposed antenna is 26.5-29GHz. Full structure consists of two PCBs soldered together to achieve end-fire radiation pattern. A 4x1 array prototype supporting single polarization has been manufactured and measured. The measured reflection coefficient over the band is -12 dB, and with uniform amplitude distribution, a maximum gain of nearly 10 dBi is measured. The measured array exhibits a scanning potential up to 30 deg. The measured results have good agreement with the simulations.