alvr-org/PhoneVR

AImageReader_newWithUsage not found

iDarknessSam opened this issue · 1 comments

Hi, PVR Devs, I am facing a crash with the following Error:

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "AImageReader_newWithUsage" referenced by "/data/app/viritualisres.phonevr-1/base.apk!/lib/arm64-v8a/libalvr_client_core.so"...

You are doing a good job. Hope this helps ;)

This is because ALVR uses newer android apis and supports Android 8+. Have to research if its fesibile to use older apis.

https://github.com/alvr-org/ALVR/blob/c73046a0814149169cd8d9b5a67e821e33dc7338/alvr/client_core/src/platform/android.rs#L451

Also, Android 7 or lower has very small market share https://apilevels.com/. PhoneVR now supports 92.9% all devices, if we go much lower i think we will be doing much more work compared to the marketshare we gain. Can you use some newer verison of Android ? (even custom mods would do)