eclipsesource / eclipsesource/J2V8

Messages 'not allowing consideration of lib' in LogCat on ARM Android build using NodeJS

Open
#337 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.6k
Forks
387
PR merge metrics
No merged PRs in 30d

Description

I used the new build system being PR'ed to build a J2V8 aar for Android ARM including NodeJS 7.9.0.

I want to see how good NodeJS works on mobile, but I have issues such as the [app crashing after stopping and starting the node background `Service`](https://github.com/eclipsesource/J2V8/issues/332).

This has NodeJS running on a separate thread and the node app being a simple `express` webserver that simply says 'Hello world', which is displayed in a react-native app that uses `fetch` to localhost (knows nothing about node background service).

Maybe my threading code is wrong, but I tried many different ways both simple and not.

But it can also be issues with NodeJS on Android. And what I notice after the APK is transferred to the phone (using `react-native run-android` which uses `adb`) is these log messages:

```sh
08-20 15:51:19.369: D/ApkSoSource(9269): not allowing consideration of lib/armeabi-v7a/libfb.so: deferring to libdir
08-20 15:51:19.370: D/ApkSoSource(9269): not allowing consideration of lib/armeabi-v7a/libfolly_json.so: deferring to libdir
08-20 15:51:19.370: D/ApkSoSource(9269): not allowing consideration of lib/armeabi-v7a/libglog.so: deferring to libdir
08-20 15:51:19.372: D/ApkSoSource(9269): not allowing consideration of lib/armeabi-v7a/libglog_init.so: deferring to libdir
08-20 15:51:19.373: D/ApkSoSource(9269): not allowing consideration of lib/armeabi-v7a/libgnustl_shared.so: deferring to libdir
08-20 15:51:19.373: D/ApkSoSource(9269): not allowing consideration of lib/armeabi-v7a/libicu_common.so: deferring to libdir
08-20 15:51:19.374: D/ApkSoSource(9269): not allowing consideration of lib/armeabi-v7a/libimagepipeline.so: deferring to libdir
08-20 15:51:19.375: D/ApkSoSource(9269): not allowing consideration of lib/armeabi-v7a/libj2v8.so: deferring to libdir
08-20 15:51:19.376: D/ApkSoSource(9269): not allowing consideration of lib/armeabi-v7a/libjsc.so: deferring to libdir
08-20 15:51:19.376: D/ApkSoSource(9269): not allowing consideration of lib/armeabi-v7a/libreactnativejni.so: deferring to libdir
08-20 15:51:19.377: D/ApkSoSource(9269): not allowing consideration of lib/armeabi-v7a/libyoga.so: deferring to libdir
```

Could this indicate an error in J2V8?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.