apktool d -s -f GP.apk 解压 修改对应文件
apktool配置使用
apktool b 打包
apktool重新打包之后的apk需要重新签名才能安装
keytool -genkey -alias debug.keystore -keyalg RSA -validity 20000 -keystore debug.keystore
jarsigner -verbose -keystore debug.keystore -signedjar APKPure_signed.apk APKPure.apk debug.keystore
修改network重新打包
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" overridePins="true" />
<certificates src="user" overridePins="true"/>
</trust-anchors>
</base-config>
</network-security-config>