Unable to mount obb file created with JOBB

亡梦爱人 提交于 2019-12-06 01:42:48

问题


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

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

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

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?

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.

来源:https://stackoverflow.com/questions/37997042/unable-to-mount-obb-file-created-with-jobb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!