1 Star 1 Fork 1

周不移/DecompileApk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
2.一键打包.bat 957 Bytes
一键复制 编辑 原始数据 按行查看 历史
AndyZhouX 提交于 2023-03-15 10:58 . 优化 路径切换
echo begin build apk
@REM echo curDir:%~dp0
set LOCAL_PATH=%~dp0
echo LOCAL_PATH:%LOCAL_PATH%
set MID_APK=mid.apk
set MID_APK2=mid2.apk
set DST_APK=dst_signed.apk
set OUT_DIR=apkdir
set KEYSTORE_PATH=my.jks
set STORE_PASSWD=123456
set STORE_ALIAS=my
set JAR_SIGNER_DIR=C:\Program Files\Java\jdk1.8.0_321\bin
set ZIP_ALIGN_DIR=D:\DevelopTools\Android\Sdk\build-tools\30.0.2
del /s /q /f %DST_APK%
@REM java -jar apktool.jar d -f %LOCAL_PATH%/%SRC_APK% -o %OUT_DIR%
java -jar apktool.jar b -o %LOCAL_PATH%/%MID_APK% %OUT_DIR%
@REM C:
@REM cd %JAR_SIGNER_DIR%
cd /d %JAR_SIGNER_DIR%
jarsigner -verbose -keystore %LOCAL_PATH%/%KEYSTORE_PATH% -storepass %STORE_PASSWD% -signedjar %LOCAL_PATH%/%MID_APK2% %LOCAL_PATH%/%MID_APK% %STORE_ALIAS%
@REM D:
@REM cd %ZIP_ALIGN_DIR%
cd /d %ZIP_ALIGN_DIR%
zipalign -v 4 %LOCAL_PATH%/%MID_APK2% %LOCAL_PATH%/%DST_APK%
cd /d %LOCAL_PATH%
del /s /q /f %MID_APK%
del /s /q /f %MID_APK2%
echo end build apk
pause
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zzhcodes/decompile-apk.git
git@gitee.com:zzhcodes/decompile-apk.git
zzhcodes
decompile-apk
DecompileApk
master

搜索帮助