You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/some/path/ExAndroidNativeEmu/proxy.py", line 91, in <module>
lib_module = emulator.load_library("../extracted_libs/libsome.so")
File "/some/path/ExAndroidNativeEmu/androidemu/emulator.py", line 248, in load_library
libmod = self.modules.load_module(filename, True)
File "/some/path/ExAndroidNativeEmu/androidemu/internal/modules.py", line 342, in load_module
libmod = self.load_module(path)
File "/some/path/ExAndroidNativeEmu/androidemu/internal/modules.py", line 342, in load_module
libmod = self.load_module(path)
File "/some/path/ExAndroidNativeEmu/androidemu/internal/modules.py", line 342, in load_module
libmod = self.load_module(path)
[Previous line repeated 1 more time]
File "/some/path/ExAndroidNativeEmu/androidemu/internal/modules.py", line 334, in load_module
so_needed = reader.get_so_need()
File "/some/path/ExAndroidNativeEmu/androidemu/internal/elf_reader.py", line 513, in get_so_need
return self.__so_needed
AttributeError: 'ELFReader' object has no attribute '_ELFReader__so_needed'. Did you mean: '_ELFReader__dyn_addr'?
I've all the libs needed in vfs/system/lib64 but it still fails. I did some digging and found that while fetching all the required library dependencies, it fails when __so_needed is never initialized when the library has no dependency. In this case, the dependency chart is somewhat like libsome.so -> liblog.so -> libc++.so -> libc.so -> ld-android.so, at the stage of parsing ld-android.so this error occurs.
The text was updated successfully, but these errors were encountered:
Initialized the Emulator like this -
Getting this error -
LDD of the library -
I've all the libs needed in
vfs/system/lib64
but it still fails. I did some digging and found that while fetching all the required library dependencies, it fails when__so_needed
is never initialized when the library has no dependency. In this case, the dependency chart is somewhat likelibsome.so
->liblog.so
->libc++.so
->libc.so
->ld-android.so
, at the stage of parsingld-android.so
this error occurs.The text was updated successfully, but these errors were encountered: