Make sure you’ve enabled “sign the app before installing” in your XAPK installer settings. Without that, Android’s just gonna reject any modded APK like it's got cooties lol.
If your installer doesn’t have that option, better switch to SAI, it handles modded and unsigned APKs way better.
Hope that helps.