发布应用时无法下载扩展文件

时间:2015-08-14 08:23:18

标签: android apk-expansion-files

我手动想从PlayStore下载已发布应用的扩展文件 用于扩展文件的命名约定。

main.6.com.package.name.obb

用于下载obb文件的版本代码和文件大小

private static final XAPKFile[] xAPKS = {
        new XAPKFile(
                true, // true signifies a main file
                6, // the version of the APK that the file was uploaded
                // against
                977330086L // the length of the file in bytes
        )
};

apk版本为6,文件大小为977330086字节。

BASE64_PUBLIC_KEY是
private static final String BASE64_PUBLIC_KEY = "Base64-encoded RSA public key"; // used by the preference obfuscater private static final byte[] SALT = new byte[] { 1, 43, -12, -1, 54, 98, -100, -12, 43, 2, -8, -4, 9, 5, -106, -108, -33, 45, -1, 84 };

该应用的清单文件是

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.package.name"
    android:versionCode="6"
    android:versionName="1.0"
>

App现已发布在Playstore中。无法下载obb文件并显示。在Beta测试中,它也显示在那里。

  

下载失败,因为无法找到资源。

0 个答案:

没有答案