You need to remove these lines completely from APKI decompliled the file and this was the only changes that I made to make it work for me! But I have confirmed that on my unrooted pixel 6 the same app that worked on my rooted phone do not work. Hope this helps!
When convert XAPK to APK, these lines appears and make the APK not installed