apktool反编译后改动下面文件
$ vi res/xml/network_security_config.xml
<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>
然后apktool b重新打包,然后签名
keytool -genkey -alias aeo_android.keystore -keyalg RSA -validity 20000 -keystore aeo_android.keystore
jarsigner -verbose -keystore aeo_android.keystore -signedjar new_xx.apk xx.apk aeo_android.keystore
然后应用安装打开后大部分接口(少部分接口能成功请求到)没网咋整
apktool反编译后改动下面文件
$ vi res/xml/network_security_config.xml然后apktool b重新打包,然后签名
然后应用安装打开后大部分接口(少部分接口能成功请求到)没网咋整