1. Enter <Android_Source_Path>/build/target/product/security and find the [platform.pk8] and [platform.] system keys.
2. Enter <Android_Source_Path>/build/tools/signapk to find it, run javac to compile it
3. Execute the command java platform. platform.pk8
OK, you have completed the signature of , the output file is.
In addition, the command java platform.platform.pk8
Not only can you resign the apk file, but you can also resign all zip files, including ROM files.