DeviceFarmer / minicap

Stream real-time screen capture data out of Android devices.
Other
294 stars 76 forks source link

b'CANNOT LINK EXECUTABLE "/data/local/tmp/minicap": cannot locate symbol "_ZTVN7android13LayerMetadataE" referenced by "/data/local/tmp/minicap.so"...\r\n' #48

Closed moumde closed 1 year ago

moumde commented 1 year ago

What is the issue or idea you have? I'm trying to adapt minicap on Android U. At present, I have successfully compiled, but the following error is reported in the actual application. b'CANNOT LINK EXECUTABLE "/data/local/tmp/minicap": cannot locate symbol "_ZTVN7android13LayerMetadataE" referenced by "/data/local/tmp/minicap.so"...\r\n'

I don't have a clue how to solve this problem, can anyone provide some help

Have you tried STF?

JesseCodeBones commented 1 year ago

you are linking android13 lib to android14, so it failed, android 14 is still not started

moumde commented 1 year ago

you are linking android13 lib to android14, so it failed, android 14 is still not started

I put the minicap code you provided under the /external/ and compiled it under the environment of Android14.. Why is the generated .so still version 13?

moumde commented 1 year ago

you are linking android13 lib to android14, so it failed, android 14 is still not started

Well, I finally finished my work. Thanks again for your code.