I want to install a .obb file from external storage. I wrote these codes.
storageManager.mountObb(obbPath, key, new OnObbStateChangeListener() { @Override public void onObbStateChange(String path, int state) { switch (state) { case ERROR_ALREADY_MOUNTED: storageManager.unmountObb(rawPath, true, this); break; case UNMOUNTED: storageManager.mountObb(rawPath, key, this); break; case MOUNTED: File mountedDir = new File(storageManager.getMountedObbPath(path));
Now I am doing this, my OnObbStateChangeListener gets state = ERROR_INTERNAL (20) .
What is this error code? How to fix it?
Addition: I found this post: What causes the jobb tool to throw a FAT Full IOException? This is probably the answer. My obb file is broken.
thanks.
source share