问题描述
当我在 Google Play 商店发布我的应用时,我收到下一个错误:
HostnameVerifier 您的应用正在使用不安全的 HostnameVerifier 接口。您可以找到有关如何操作的更多信息 解决此 Google 帮助中心文章中的问题。
我的应用不使用 HostnameVerifier 或 X509HostnameVerifier。
我怀疑外部库会产生错误。 我目前的成绩是:
implementation filetree(include: ['*.jar'],dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:multidex:1.0.3'
// Fire Base
implementation 'com.firebase:firebase-jobdispatcher:0.8.5'
// implementation 'com.firebaseui:firebase-ui-storage:3.2.1'
implementation 'com.google.firebase:firebase-messaging:17.4.0'
implementation 'com.google.firebase:firebase-database:16.1.0'
implementation 'com.google.firebase:firebase-storage:16.1.0'
implementation 'com.google.firebase:firebase-config:16.1.0'
// Facebook
implementation 'com.facebook.android:facebook-login:4.38.1'
implementation 'com.facebook.android:account-kit-sdk:4.37.0'
// Google Services
// implementation 'com.google.maps:google-maps-services:0.2.7'
implementation 'com.google.maps.android:android-maps-utils:0.5'
implementation 'com.google.android.gms:play-services-maps:16.1.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.google.android.gms:play-services-auth:16.0.1'
// Rx
implementation 'io.reactivex.rxjava2:rxjava:2.1.14'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
// Networking (Retrofit)
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
// DI (Butter knife)
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
// Image processing (Glide,Lottie,circular image & Image picker)
implementation 'com.github.bumptech.glide:glide:4.8.0'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.airbnb.android:lottie:2.5.4'
implementation 'com.github.jkwiecien:EasyImage:2.0.4'
// Others
implementation 'com.akexorcist:googledirectionlibrary:1.1.1'
implementation 'me.himanshusoni.chatmessageview:chat-message-view:1.0.3'
/* dimen */
implementation 'com.intuit.sdp:sdp-android:1.0.6'
implementation 'com.intuit.ssp:ssp-android:1.0.5'
// Car Animation in Rate card
implementation 'com.daimajia.easing:library:2.0@aar'
implementation 'com.daimajia.androidanimations:library:2.3@aar'
implementation('com.crashlytics.sdk.android:crashlytics:2.9.5@aar') {
transitive = true
}
// comment below line & its relative code in files,if you face issue while generate signed apk.
//debugImplementation 'com.facebook.stetho:stetho-okhttp3:1.5.0'
// payment gateway...
implementation 'com.braintreepayments:card-form:3.5.0'
implementation 'com.braintreepayments.api:braintree:2.18.1'
implementation 'com.stripe:stripe-android:8.0.0'
/* toasty */
implementation 'com.github.GrenderG:Toasty:1.3.0'
implementation 'id.zelory:compressor:2.1.0'
// Page Indicator using Recycler view
implementation 'com.ryanjeffreybrooks:indefinitepagerindicator:1.0.9'
implementation 'com.google.android.libraries.places:places:1.1.0'
// Emoji Handle
implementation 'org.apache.commons:commons-lang3:3.4'
implementation 'me.philio:pinentryview:1.0.6'
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)