Disclaimer: This is for educational purposes. Piracy harms developers. If you like the app, buy it.
However, modern app developers are wise to this. They implement server-side checks or obfuscated code logic that detects if the app has been tampered with. If the app detects a signature mismatch or a modified codebase, it will throw a license error to prevent unauthorized use. hex installer apk license error