luoyesiqiu / dpt-shell

An android Dex protects shell implementation
MIT License
519 stars 190 forks source link

大佬看下这个报错是什么问题 #33

Closed ReverseFeng closed 2 months ago

ReverseFeng commented 6 months ago

大佬看下这个报错是什么问题

FATAL EXCEPTION: main Process: com.luoye.dpt, PID: 28579 java.lang.UnsatisfiedLinkError: No implementation found for void com.luoyesiqiu.shell.JniBridge.ia(android.content.Context) (tried Java_com_luoyesiqiu_shell_JniBridge_ia and Java_com_luoyesiqiu_shell_JniBridge_ia__Landroid_content_Context_2) at com.luoyesiqiu.shell.JniBridge.ia(Native Method) at com.luoyesiqiu.shell.ProxyComponentFactory.instantiateClassLoader(ProxyComponentFactory.java:132) at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:946) at android.app.LoadedApk.getClassLoader(LoadedApk.java:982) at android.app.LoadedApk.getResources(LoadedApk.java:1214) at android.app.ContextImpl.createAppContext(ContextImpl.java:2663) at android.app.ContextImpl.createAppContext(ContextImpl.java:2655) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7013) at android.app.ActivityThread.access$1300(ActivityThread.java:260)

luoyesiqiu commented 6 months ago

现在用的什么版本的

ReverseFeng commented 6 months ago

github上最新的 在as中自己编译 跑出来就是这个报错

luoyesiqiu commented 6 months ago

可能和混淆有关,把混淆关了试试

luoyesiqiu commented 6 months ago

或者试试使用debug构建:gradlew shell:assembleDebug

ReverseFeng commented 6 months ago

大佬 看看这个报错 编译时候触发的 找不见这个shell A problem occurred configuring project ':shell'.

Failed to notify project evaluation listener. java.lang.NullPointerException (no error message) Task with name 'assembleRelease' not found in project ':shell'.

luoyesiqiu commented 6 months ago

gradlew shell:assemble可以吗

ReverseFeng commented 6 months ago

不行呀 一直说这个shell找不见

ReverseFeng commented 6 months ago

大佬 看下这个报错 java.lang.ClassNotFoundException: com.android.webview.chromium.WebViewChromiumFactoryProviderForOMR1 at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:453) at android.webkit.WebViewFactory.getWebViewProviderClass(WebViewFactory.java:138) at android.webkit.WebViewFactory.getProviderClass_nubia(WebViewFactory.java:218) at android.webkit.WebViewFactory.getProvider_nubia(WebViewFactory.java:335) at android.app.ActivityThread$2.run(ActivityThread.java:5915) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.webview.chromium.WebViewChromiumFactoryProviderForOMR1" on path: DexPathList[[zip file "/system/app/webview/webview.apk"],nativeLibraryDirectories=[/system/app/webview/lib/arm64, /system/app/webview/webview.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /system/lib64, /vendor/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at java.lang.Class.classForName(Native Method)  at java.lang.Class.forName(Class.java:453)  at android.webkit.WebViewFactory.getWebViewProviderClass(WebViewFactory.java:138)  at android.webkit.WebViewFactory.getProviderClass_nubia(WebViewFactory.java:218)  at android.webkit.WebViewFactory.getProvider_nubia(WebViewFactory.java:335)  at android.app.ActivityThread$2.run(ActivityThread.java:5915)  Suppressed: java.io.IOException: No original dex files found for dex location /system/app/webview/webview.apk at dalvik.system.DexFile.openDexFileNative(Native Method) at dalvik.system.DexFile.openDexFile(DexFile.java:505) at dalvik.system.DexFile.(DexFile.java:105) at dalvik.system.DexFile.(DexFile.java:79) at dalvik.system.DexPathList.loadDexFile(DexPathList.java:382) at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337) at dalvik.system.DexPathList.(DexPathList.java:157) at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:65) at dalvik.system.PathClassLoader.(PathClassLoader.java:64) at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:73) at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:88) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:69) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:35) at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:701) at android.app.LoadedApk.getClassLoader(LoadedApk.java:735) at android.app.ContextImpl.getClassLoader(ContextImpl.java:304) at android.webkit.WebViewFactory.getProviderClass_nubia(WebViewFactory.java:210)

luoyesiqiu commented 6 months ago

webview.apk有dex文件吗

ReverseFeng commented 6 months ago

app本身没有这个webview.apk 这个webview.apk是系统的

luoyesiqiu commented 6 months ago

不管是系统的还是哪里的,如果这个webview.apk里面有没有dex文件的话可能加载不到

ReverseFeng commented 5 months ago

不加壳之前可以正常运行,加壳之后就报错这个了,是添加DEx pathlist的遇到的问题?这个有办法解决吗,需要的话我给你例子

luoyesiqiu commented 5 months ago

提供apk我看下

ReverseFeng commented 5 months ago

链接:https://pan.baidu.com/s/1yloH_7N0FiNkSwiVIUPcaw 提取码:0seq --来自百度网盘超级会员V6的分享 大佬你看下 我这是安卓8崩溃 java.lang.ClassNotFoundException: Didn't find class "com.android.webview.chromium.WebViewChromiumFactoryProviderForOMR1" on path

ReverseFeng commented 5 months ago

佬,能留个联系方式吗?

luoyesiqiu commented 5 months ago

https://t.me/+cLsGN5qXp3hkMDI1

luoyesiqiu commented 5 months ago

或者vx:dnhpZF9pbXpoYW8=