Optimize the implementation of ApkValidate.java, still way to go.