-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
ffi: compress only ARM and x86_64 libraries when building the AAR #708
Conversation
Your example code: Error in both cases is:
|
No error when I remove the database lines |
Yeah, that error is related to LMDB. Probably due to the sync of 1000 events. I'm not practical with android emulators but maybe the x86 emulator have few RAM. Just for curiosity, if you want to try, changing the |
It returns the same error. It actually crashes way before the |
Ok thank you! So I'll merge this and open another issue for LMDB on x86 devices. |
The UPX compression is known to cause issues on `x86` devices for certain Android API levels (e.g., API 30). Since `x86` devices constitute a very small percentage of the Android market (<1%, see links below), apps are unlikely to be shipped for this architecture and are typically used only for testing purposes. Therefore, compress only the ARM (`arm64-v8a` and `armeabi-v7a`) and `x86_64` libraries. * https://android.stackexchange.com/questions/186334/what-percentage-of-android-devices-runs-on-x86-architecture * https://web.archive.org/web/20170808222202/http://hwstats.unity3d.com:80/mobile/cpu-android.html Closes #703 Closes #708 Tested-by: dluvian <[email protected]> Signed-off-by: Yuki Kishimoto <[email protected]>
The UPX compression is known to cause issues on `x86` devices for certain Android API levels (e.g., API 30). Since `x86` devices constitute a very small percentage of the Android market (<1%, see links below), apps are unlikely to be shipped for this architecture and are typically used only for testing purposes. Therefore, compress only the ARM (`arm64-v8a` and `armeabi-v7a`) and `x86_64` libraries. * https://android.stackexchange.com/questions/186334/what-percentage-of-android-devices-runs-on-x86-architecture * https://web.archive.org/web/20170808222202/http://hwstats.unity3d.com:80/mobile/cpu-android.html Closes #703 Closes #708 Tested-by: dluvian <[email protected]> Signed-off-by: Yuki Kishimoto <[email protected]> (cherry picked from commit 4c2b3db)
The UPX compression is known to cause issues on
x86
devices for certain Android API levels (e.g., API 30). Sincex86
devices constitute a very small percentage of the Android market (<1%, see links below), apps are unlikely to be shipped for this architecture and are typically used only for testing purposes. Therefore, compress only the ARM (arm64-v8a
andarmeabi-v7a
) andx86_64
libraries.Closes #703