nantitv
nantitv

Reputation: 3733

Change StorageManager's default mount point from /mnt/obb to /mnt/data

I am following this obb sample to load a native library from an obb file. But I am seeing following error on System.load(mylib.getAbsolutePath()) call.

java.lang.UnsatisfiedLinkError: dlopen failed: library "/mnt/obb/fcc93fcbaf5acfc/mylibs.so" needed or dlopened by 
"/system/lib/libnativeloader.so" is not accessible for the namespace "classloader-namespace" 
    [name="classloader-namespace", ld_library_paths="", default_library_paths="", permitted_paths="/data:/mnt/expand:/data/data/com.example"]

But as far as I understood, StorageManager#mountObb() by default mounting to /mnt/obb. Is there a way I can instruct StorageManager to mount the obb at /mnt/data ?

Upvotes: 0

Views: 126

Answers (0)

Related Questions