Android Studio Gradle build failed. Error:Cause: peer not authenticated

前端 未结 23 1833
离开以前
离开以前 2020-12-03 04:54

I have already created one project and gradle sync worked successfully.

When I try to create another project it fails and gives the error message that



        
23条回答
  •  庸人自扰
    2020-12-03 05:15

    May be sometimes your app use Crashlytic bundle in your graddle And your network cannot resolve Crashlytic library. In another way, may be others lib can cause problem. Please check your internet can access and grep those libs.

    So it return an error that

    "Error:Cause: peer not authenticated."

    For me, I solve this problem by comment code that evolved crashlytics lib all and compile again ---> this problem drain my working time to 4 hrs to know and clear it.

    T ^ T

    Wish all of us safe from this problem.

提交回复
热议问题