Andriod 4.4.2 "optimizing app x of 50 android" after flash Gapps
I guess you have a stock firmware, this might lead to an incompatibility with the existing Gapps. 

Try downloading the minimal Gapps,  nano or pico package from here