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
    https://code.google.com/archive/p/acra/wikis/ACRA3HowTo.wiki
  • This led to
    https://code.google.com/archive/p/acra/
  • Then to
    https://github.com/ACRA/acra
  • Which pointed to
    https://github.com/ACRA/acra/wiki/BasicSetup
  • Then
    http://search.maven.org/#search%7Cga%7C1%7Cch.acra
  • And finally arriving at
    https://repo1.maven.org/maven2/ch/acra/acra/4.8.2/acra-4.8.2.zip
  • 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