Let H F be the generalized quaternion division algebra over a field F with char F≠2. By using the adjoint matrix and the method of repersentation matrix, this paper obtains several necessary and sufficient conditions for existence of a solution or a unique solution to the matrix equation ki=0A iXB i=E over H F, and gives some explicit formulas of solutions.