apk反编译

tags
app
andorid
type
Post
summary
status
Published
slug
keystore&apktool
date
Mar 7, 2025
category
技术分享

apk签名工具:keystore

  1. 生成keystore
keytool -genkey -alias 别名 -keyalg RSA -validity 有效天数 -keystore filename.keystore #or keytool -genkeypair -alias myAlias -keyalg RSA -keystore myKeystore.jks -keysize 2048
  1. 查看具体信息
keytool -list -v -keystore xxx.keystore #or keytool -list -keystore your_keystore_file.jks

反编译工具:apktool

  1. 下载:brew install apktool
  1. 使用命令
// 反编译 apktool d xxx.apk
  1. 编译
// 编译 apktool b xxx

apk重新签名

jarsigner -verbose -keystore filename.keystore -signedjar outputfile.apk inputfile.apk alise
 

© freedom 2016 - 2025