This is not related with kitkat bug, i'm testing in 4.4.2
I can mount without problems the obb file, the problem is when try to do the same with encrypted obb. I'm using jobb in windows like this:
jobb -d my_folder -o exp.obb -k pwd -pn com.example.name -pv 1
The only thing i changed to load encrypted obb file is this:
stgMgr.mountObb(mObbPath, null, new mOnObbStateChangeListener)
stgMgr.mountObb(mObbPath, pwd, new mOnObbStateChangeListener)
it's not a permissions problem. So, why i cant mount the encrypted obb file? i read this Using encrypted OBB files in Android but don't understand the code. And is not in documentation. Thanks.
There is no solution to this bug for the time being. The only way to guarantee not to have problems with this issue in all android versions is not to use encryption encrypted obb files.
来源:https://stackoverflow.com/questions/21161475/can-mount-unencrypted-obb-but-with-encrypted-error-21