Android 10踩坑实录 👉 2020-01-20

【Android 10踩坑实录 & #128073; 2020-01-20】风流不在谈锋胜,袖手无言味最长。这篇文章主要讲述Android 10踩坑实录 & #128073; 2020-01-20相关的知识,希望能为你提供帮助。
1.https联网限制

Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl; -> setUseSessionTickets(Z)V (light greylist, reflection) Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl; -> setHostname(Ljava/lang/String; )V (light greylist, reflection) Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl; -> getAlpnSelectedProtocol()[B (light greylist, reflection) Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl; -> setAlpnProtocols([B)V (light greylist, reflection)W/123: null end with: ERROR ]---===---[Exception : CLEARTEXT communication to dldir1.qq.com not permitted by network security policy

Fixed ?? android:usesCleartextTraffic=" true"
2.安装APP时提示:安装包有异常,无法安装
https://blog.csdn.net/lsldd/article/details/89962353
??
gradle.properties add android.injected.testOnly=false

    推荐阅读