@Override
        public int compare(File f1, File f2) {
          Matcher m1 = pattern.matcher(f1.getName());
          Matcher m2 = pattern.matcher(f2.getName());

          m1.find();
          m2.find();

          for (int i = 1; i <= 3; i++) {
            int compare = Integer.compare(
              Integer.parseInt(m1.group(i)),
              Integer.parseInt(m2.group(i)));

            if (compare != 0) {
              return compare;
            }
          }

          return 0;
        }
@return path to android.jar of latest android api.
selendroid-standalone/src/main/java/io/selendroid/standalone/android/AndroidSdk.java