INNER CODE UNIT · Java

getSignMode

Tencent/VasDolly · command/src/main/java/com/tencent/vasdolly/command/Util.java:58

    public static String getSignMode(File apkFile) {
        try {
            int signMode = judgeChannelPackageMode(apkFile);
            return "V" + signMode;
        } catch (Exception e) {
            System.out.println("get sign exception:" + e.getMessage());
            return "Apk was not signed";
        }
    }

    /**
     * 获取已知APK的渠道信息
     *
     * @param apkFile
     * @return
     */
    public static String readChannel(File apkFile) {
        String channel = ChannelReader.getChannelByV2(apkFile);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…