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

AImageReader_newWithUsage not found #157

Open
iDarknessSam opened this issue Jul 23, 2023 · 1 comment
Open

AImageReader_newWithUsage not found #157

iDarknessSam opened this issue Jul 23, 2023 · 1 comment
Labels
enhancement feature improvement or request

Comments

@iDarknessSam
Copy link

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 ;)

@ShootingKing-AM ShootingKing-AM changed the title Phone VR crash Issue... AImageReader_newWithUsage not found Jul 23, 2023
@ShootingKing-AM
Copy link
Member

ShootingKing-AM commented Jul 23, 2023

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)

@ShootingKing-AM ShootingKing-AM added the enhancement feature improvement or request label Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature improvement or request
Projects
None yet
Development

No branches or pull requests

2 participants