pathfinder
pathfinder copied to clipboard
Android demo crashes: /lib/arm64/libpathfinder_android_demo.so" has bad ELF magic
Windows 10 Android Studio 3.6.3 (latest as of 2020-04-22) XiaoMi Note 7 phone
Steps to reproduce:
- Open
pathfinder\demo\androidin Android Studio - Attach phone to your computer
- Select Run | Debug app
Expected: All OK, app runs on phone
Actual:
crash
2020-04-22 09:26:55.237 17507-17507/graphics.pathfinder.pathfinderdemo E/AndroidRuntime: FATAL EXCEPTION: main
Process: graphics.pathfinder.pathfinderdemo, PID: 17507
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/graphics.pathfinder.pathfinderdemo-5COgVLAOg2Kr8SURAR_OWg==/lib/arm64/libpathfinder_android_demo.so" has bad ELF magic
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1669)
at graphics.pathfinder.pathfinderdemo.PathfinderDemoRenderer.
I'm guessing this might be because your phone is 32-bit?
Yes, looks like 32-bit
hmm, just checked - the OS is 64-bit, supported ABIs: arm64-v8a, armeabi-v7a, armeabi using https://play.google.com/store/apps/details?id=com.danielpolish.a64bitchecker
@nokola Hi, what's the right way to build out the libpathfinder_android_demo.so?