Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

16 Android 4.1 - Cannot load library: reloc_library[1306]: 1141 cannot locate '__register_atfork' #38

Open
atonamy opened this issue Sep 24, 2018 · 1 comment

Comments

@atonamy
Copy link

atonamy commented Sep 24, 2018

If I try to run the basic example on Android 4.1 (16) I getting this exception while loading jni library:

Cannot load library: reloc_library[1306]: 1141 cannot locate '__register_atfork'

How to fix this?

@atonamy
Copy link
Author

atonamy commented Sep 25, 2018

I found what cause this issue, you see in the article it instruct to use

make_standalone_toolchain.py --api 26

but in real world we actually should use

make_standalone_toolchain.py --api 16

to make it compatible and executable under older versions of Android

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant