Well, I just needed to waste my time and write the question, so suddenly fix it, great.
Add these lines to proguard-rules.pro:
proguard-rules.pro
-keep class javax.net.ssl.** { *; } -keep class android.security.net.config.** { *; }