Giter Club home page Giter Club logo

Comments (3)

asLody avatar asLody commented on August 16, 2024

WhaleRuntime在加载过程中已输出了错误信息,你需要贴出错误信息

from whale.

openproject avatar openproject commented on August 16, 2024

是不是这个错误,换了个红米 Note 7, 好像和 xposed 没有关系:
03-03 23:48:27.959 E/Whale (13149): Unable to read data from libart.so.
03-03 23:48:27.959 E/Whale (13149): Runtime setup failed
03-03 23:48:27.959 D/AndroidRuntime(13149): Shutting down VM

--------- beginning of crash
03-03 23:48:27.960 E/AndroidRuntime(13149): FATAL EXCEPTION: main
03-03 23:48:27.960 E/AndroidRuntime(13149): Process: com.xxxx, PID: 13149
03-03 23:48:27.960 E/AndroidRuntime(13149): java.lang.UnsatisfiedLinkError: JNI_ERR returned from JNI_OnLoad in "/data/app/com.jingyao.easybike-rb5R_nNdi7pC68eYY48M1A==/lib/arm/libwhale.so"
03-03 23:48:27.960 E/AndroidRuntime(13149): at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
03-03 23:48:27.960 E/AndroidRuntime(13149): at java.lang.System.loadLibrary(System.java:1669)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.lody.whale.WhaleRuntime.(WhaleRuntime.java:19)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.lody.whale.WhaleRuntime.hookMethodNative(Native Method)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.lody.whale.xposed.XposedBridge.hookMethod(XposedBridge.java:100)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.lody.whale.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:187)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.jingyao.easybike.tools.upi.Hooks.init(Hooks.kt:26)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.hellobike.atlas.application.HelloBikeApp.onCreate(HelloBikeApp.java:88)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1155)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5949)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.app.ActivityThread.access$1200(ActivityThread.java:200)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.os.Handler.dispatchMessage(Handler.java:106)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.os.Looper.loop(Looper.java:201)
03-03 23:48:27.960 E/AndroidRuntime(13149): at android.app.ActivityThread.main(ActivityThread.java:6810)
03-03 23:48:27.960 E/AndroidRuntime(13149): at java.lang.reflect.Method.invoke(Native Method)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
03-03 23:48:27.960 E/AndroidRuntime(13149): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

from whale.

hl46000 avatar hl46000 commented on August 16, 2024

Same issue on J710F Android 8.1.0 armeabi-v7a. I was use Xposed(Systemless) to load libwhale.so and mylib.so to another application.
03-06 18:39:51.849 7095-7095/? D/NaviteHook: Failed to load Whale: JNI_ERR returned from JNI_OnLoad in "/data/data/com.hl46000.hlfaker/lib/libwhale.so"
03-06 18:39:51.852 7095-7095/? E/HLHooker: HLHooker Load Hook!!!
03-06 18:39:51.914 7115-7115/? A/DEBUG: #01 pc 000374ed /data/app/com.hl46000.hlfaker-_AkG2KdCEmMXkIoeWcAE5w==/lib/arm/libwhale.so
03-06 18:39:51.914 7115-7115/? A/DEBUG: #2 pc 0003e257 /data/app/com.hl46000.hlfaker-_AkG2KdCEmMXkIoeWcAE5w==/lib/arm/libwhale.so
03-06 18:39:51.914 7115-7115/? A/DEBUG: #3 pc 0003a19f /data/app/com.hl46000.hlfaker-_AkG2KdCEmMXkIoeWcAE5w==/lib/arm/libwhale.so
03-06 18:39:51.914 7115-7115/? A/DEBUG: #4 pc 00036c43 /data/app/com.hl46000.hlfaker-_AkG2KdCEmMXkIoeWcAE5w==/lib/arm/libwhale.so (WInlineHookFunction+126)
03-06 18:39:51.914 7115-7115/? A/DEBUG: #5 pc 000113ff /data/app/com.hl46000.hlfaker-_AkG2KdCEmMXkIoeWcAE5w==/lib/arm/libhlhooker.so (JNI_OnLoad+38)

from whale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.