Hi @Manoj, what @jkalayathil describes pretty similar to what occured to me with the same phone xperia xa2, after I installed TWRP and flashed pie and then tried to reboot. I ended up using emma and flash a factory rom.
I dropped that info here:
There is really need to get that fixed or take it from the compatibility list.
I hope you can use @chrisrg hint (thanks for sharing) and can get the installation more user friendly, which means, it works when following a given user instruction