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

Application linking to wrong library path #280

Closed
rickomax opened this issue Jan 9, 2025 · 4 comments
Closed

Application linking to wrong library path #280

rickomax opened this issue Jan 9, 2025 · 4 comments

Comments

@rickomax
Copy link

rickomax commented Jan 9, 2025

Version

v1.1.0harmattan51-free

Which game type?

Quake I

What platform?

Android arm-v8

What game mod?

Custom

What GPU brand?

Snapdragon Adreno

CPU/GPU model

No response

Description or screenshot

I'm compiling the project for Android.

The project builds arm64-v8a libraries, and when testing my APK, it works as expected.

However, when compiling the AAB project and running it, it fails with the following error:

Unable to load library /data/app/~~dW91m1vud04R8JjwndWLbw==/com.karin.idTech4Amm-klwJpn3HuAlPrBuOlc79oA==/lib/arm64/libidtech_quake.so': (null)

Strangely, it does not link to lib/arm64-v8a..., which does exist, but instead links to lib/arm64.

What could be causing this?

stdout.txt

No response

stderr.txt

No response

@glKarin
Copy link
Owner

glKarin commented Jan 10, 2025

In Q3EUtils.java, has a GetGameLibDir method, it returns a full path of libraries.
Because idTech4A++ allows to load customer library, so it using full path of library and not a library name.

@rickomax
Copy link
Author

Adding

android.bundle.enableUncompressedNativeLibs=false

to gradle.properties does the job.

@rickomax
Copy link
Author

@glKarin please check my answer. If you feel like it is ok, you can close this issue.

@glKarin
Copy link
Owner

glKarin commented Feb 12, 2025

Has update.
74fccf2

@glKarin glKarin closed this as completed Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants