Improper use on unauthorized apps is illegal; tutorials usually specify use for educational purposes only.
Open the folder containing your APK within the Apktool M file manager. Tap on the APK file and select . apktool m tutorial
jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore your_keystore.jks modified_app.apk your_alias Improper use on unauthorized apps is illegal; tutorials
If you tell me what you're trying to achieve (e.g., modifying a game, changing an app's icon, learning about security), I can recommend the best steps to take. Apktool M for Android - Download the APK from Uptodown modifying a game