原创 菜雞闖天下

avax.net.ssl.SSLHandshakeException(java.security.cert.CertPathValidatorException: Trust anchor for certification path n

原创 javax.net.ssl.SSLHandshakeException(java.security.cert.CertPathValidatorException: Trust anchor for

https證書有問題,在網絡請求框架中忽略 //定製OkHttp OkHttpClient.Builder httpClientBuilder = new OkHttpClient.Builder();

原创 RelativeLayout、Framelayout 兩佈局重疊的時候點擊事件透傳

把顯示在上面的那個佈局裏面加 android:clickable="true"  

原创 遇到的問題-未完待續

1.集成阿里的數據風控(投籃驗證)的時候下載完SDK後不要看他的官網的文檔,看SDK裏帶的文檔,官網上的更新不及時有些方法都過時不能用了,記得清單文件中添加權限。 2.這個問題好玩兒了 阿里的數據風控 投籃驗證我用的aar依賴,放在了

原创 adb server version (31) doesn't match this client (40) killing... could not read ok from adb server

目前遇到該問題的原因是電腦上有手機助手在運行,所以關掉就好了

原创 ActivityCompat.requestPermissions方法找不到

在gradle裏添加以下代碼 configurations.all { resolutionStrategy { force 'com.android.support:support-v4:27.1.1'