INNER CODE UNIT · Java

getDestinationFile

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

    private static File getDestinationFile(File dirOrApkPath, String apkName, String channel) {
        if (dirOrApkPath.getAbsolutePath().endsWith(".apk")) {
            return dirOrApkPath;
        } else {
            return new File(dirOrApkPath, getChannelApkName(apkName, channel));
        }
    }

    /**
     * V1方式写入渠道
     *
     * @param baseApk
     * @param channelList
     * @param outputDir
     */
    private static void generateV1ChannelApk(File baseApk, List<String> channelList, File outputDir, boolean isFastMode) {
        if (!ChannelReader.containV1Signature(baseApk)) {
            System.out.println("File " + baseApk.getName() + " not signed by v1 , please check your signingConfig , if not have v1 signature , you can't install Apk below 7.0");

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…