URL and Link repository

Sunday, February 21, 2016

X509 Trust Manager Interface Resolved

My Android app WAR had been using an imported version of the Application Crash Reports for Android (ACRA) library that was implemented incorrectly. The external JAR was acra-4.2.3.jar, which I automatically assumed to be outdated.

Therefore, I downloaded and copied acra-4.8.2.jar to the app/libs directory in Android Studio. Here are the series of steps that I took to find that updated ACRA jar file.

  • Started with a Bing search on acra-4.2.3.jar
  • SERP came back with
  • This led to
  • Then to
  • Which pointed to
  • Then
  • And finally arriving at
  • After unzipping and copying the jar file to Android Studio app/libs directory, I modified the build.gradle file as follows:

    dependencies {
    compile files('libs/httpmime-4.1.1.jar')
    compile files('libs/acra-4.8.2.jar')

    Mission accomplished for now at least; however, I certainly realize that I may have just added to my tech debt, but if it's working now, I won't risk introducing new bugs.

    No comments:

    Post a Comment