Closed wr-web closed 2 years ago
If this is the intended behavior of the example, we should update the test case to verify this, as the test case seems to have been passing in CI even with auto_load_libs being disabled.
If this is the intended behavior of the example, we should update the test case to verify this, as the test case seems to have been passing in CI even with auto_load_libs being disabled.
I can't understand where the native-lib.so
was loaded in code with auto_load_lib
disabled.
This pull request has been marked as stale
because it has no recent activity. Please comment or add the pinned
tag to prevent this issue from being closed.
If
auto_load_lib=False
,my wsl2 won't load native-lib.so .Andself.project.loader.initial_load_objects
injavavm.py will be
[<Apk Object androidnative1.apk, maps [0x0:0x1]>]. After I changedauto_load_lib
to True.native-lib.so
was loaded correctly.self.project.loader.initial_load_objects
injavavm.py will be
[<Apk Object androidnative1.apk, maps [0x0:0x1]>, <ELF Object libnative-lib.so, maps [0x100000:0x13338b]>, <ExternObject Object cle##externs, maps [0x200000:0x2000e8]>]. For more information you can take a look at loader.py:694while self._auto_load_libs and dependencies: