All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.dongliu.apk.parser.Main Maven / Gradle / Ivy

There is a newer version: 2.6.10
Show newest version
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