Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnsatisfiedLinkError: error initializing public namespace: "libdreamland.so" was not found in the default namespace #2

Closed
canyie opened this issue Feb 5, 2020 · 1 comment
Assignees
Labels
bug Something isn't working compatibility Compatibility not enough info Further information is requested

Comments

@canyie
Copy link
Owner

canyie commented Feb 5, 2020

问题:安装Dreamland后,大部分应用闪退
logcat:

02-05 11:10:44.888 15784 15784 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Unable to create namespace for the classloader dalvik.system.PathClassLoader[DexPathList[[zip file "/system/priv-app/ViPER4AndroidFX/ViPER4AndroidFX.apk"],nativeLibraryDirectories=[/system/priv-app/ViPER4AndroidFX/lib/arm, /system/fake-libs, /system/priv-app/ViPER4AndroidFX/ViPER4AndroidFX.apk!/lib/armeabi, /system/lib, /vendor/lib, /system/vendor/lib, /product/lib, /system/lib, /vendor/lib, /system/vendor/lib, /product/lib]]]: android_init_namespaces failed: error initializing public namespace: "libdreamland.so" was not found in the default namespace
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at com.android.internal.os.PathClassLoaderFactory.createClassLoader(PathClassLoaderFactory.java:54)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:58)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:540)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.LoadedApk.getClassLoader(LoadedApk.java:573)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1993)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.LoadedApk.getResources(LoadedApk.java:799)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.ContextImpl.<init>(ContextImpl.java:2218)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.ContextImpl.createAppContext(ContextImpl.java:2163)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5618)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:360)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.ActivityThread.handleBindApplication(<Xposed>)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.ActivityThread.-wrap2(ActivityThread.java)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1640)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:105)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:156)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6595)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
02-05 11:10:44.888 15784 15784 E AndroidRuntime: 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)

设备信息:
HuaWei Honor DUK-AL20
Android 7.0
装了Xposed

@canyie canyie added bug Something isn't working compatibility Compatibility labels Feb 5, 2020
@canyie canyie self-assigned this Feb 5, 2020
@canyie canyie added not enough info Further information is requested compatibility Compatibility and removed compatibility Compatibility labels Feb 5, 2020
@canyie
Copy link
Owner Author

canyie commented Aug 2, 2020

重新实现了注入逻辑,避免修改public.libraries.txt,不会遇到这个问题了。

@canyie canyie closed this as completed Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compatibility Compatibility not enough info Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant