无法挂载用JOBB创建的obb文件 [英] Unable to mount obb file created with JOBB

查看:173
本文介绍了无法挂载用JOBB创建的obb文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用在此问题中找到的mountExpansion()方法装载由JOBB工具创建的加密或非加密obb文件: https://developer.android.com/reference/android/os/storage/OnObbStateChangeListener.html 表示

I'm trying to mount either an encrypted or non-encrypted obb file I created with the JOBB tool using the mountExpansion() method found in this question: Mounting an encrypted obb apk expansion file in Android. What is interesting is that when I try this with an encrypted file, I get the state 21 which according to https://developer.android.com/reference/android/os/storage/OnObbStateChangeListener.html means

系统无法安装OBB.通过StorageManager进行的调用返回了状态消息

The OBB could not be mounted by the system. Returned in status messages from calls made via StorageManager

当我尝试非加密文件时,状态为20,这表示:

and when I try a non-encrypted file I get state 20 which means:

尝试安装OBB时遇到内部系统错误.通过StorageManager进行的调用返回了状态消息

There was an internal system error encountered while trying to mount the OBB. Returned in status messages from calls made via StorageManager

在可能导致状态发生的原因中,这两种解释都没有太大帮助.有什么建议吗?

Neither of these explanations are very helpful in what might cause the states to occur. Any suggestions for this?

针对我遇到的类似问题的答案中的评论也可能是相关的: https://stackoverflow.com/a/37957811/1489990 作为能够以jobb开始创建obb文件的唯一方法是强制使用FAT32而不是FAT16.

The comments in an answer to a similar issue I had may also be relevant: https://stackoverflow.com/a/37957811/1489990 as the only way I was able to create the obb file with jobb to begin with was to force FAT32 to be used instead of FAT16.

推荐答案

在我的情况下,当我将文件移动到内部存储时,SDCARD上出现错误20并没有本地化.当我找到原因时,这真是令人头疼,但是当我用正确的版本重新创建OBB文件时,问题就消失了.我真的不知道是什么解决了问题,重新娱乐或纠正数字

In my case i had error 20 on SDCARD, when i move file to internal storge error doesnt localizating. It was a brain break when i found the reason, but when i recreated OBB file with correct version the problem gone. I don't real know what solved a problem, recreation or correction of number

这篇关于无法挂载用JOBB创建的obb文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆