net.dongliu.apk.parser.Main Maven / Gradle / Ivy
package net.dongliu.apk.parser;
import java.io.IOException;
import java.security.cert.CertificateException;
import java.util.Locale;
/**
* Main method for parser apk
*
* @author Liu Dong {@literal }
*/
public class Main {
public static void main(String[] args) throws IOException, CertificateException {
String apkFile = args[0];
try (ApkParser parser = new ApkParser(apkFile)) {
parser.setPreferredLocale(Locale.getDefault());
System.out.println(parser.getManifestXml());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy