Steps:
1. Open the apk with winrar, remove the folder “META-INF”.
2. Replace any files in the apk you need.
3. Prepare a key store for signing with those command
keytool -genkey -v -keystore android.keystore -alias android.keystore -keyalg RSA -validity 20000
4. Resign the APK package
"C:/Program Files/Java/jdk1.6.0_10/bin/jarsigner" -verbose -keystore android.keystore -storepass 123456 -signedjar ./omptestNew.apk ./omptest.apk android.keystore
本文介绍了一种APK签名的方法,包括使用WinRAR打开APK文件并移除“META-INF”文件夹,替换APK中所需的文件,使用keytool生成密钥库以及使用jarsigner命令重新签名APK。
4295

被折叠的 条评论
为什么被折叠?



