nohajc / termux-adb

Run adb in Termux without root permissions!
MIT License
362 stars 36 forks source link

termux-adb fails with CANNOT LINK EXECUTABLE error #28

Closed jroovy closed 1 month ago

jroovy commented 1 month ago

Describe the bug termux-adb fails to run with the error CANNOT LINK EXECUTABLE "termux-adb": cannot locate symbol "_ZN4absl12lts_2024011612log_internal10LogMessagelsIiLi0EEERS2_RKT_" referenced by "/data/data/com.termux/files/usr/lib/libprotobuf-tadb.so"...

To Reproduce Install termux-adb, then try to run termux-adb

Expected behavior Running command termux-adb devices (or any other command) should do something

Screenshots Screenshot_20240902-002505142_1

Smartphone (please complete the following information):

Attach output of the following commands

Screenshot_20240902-003151901_1

Screenshot_20240902-003203400_1

Screenshot_20240902-003449046_1

Attach contents of the following files (after running with debug logs enabled)

/data/data/com.termux/files/usr/tmp folder is empty

Additional context termux-fastboot works without any issues

nohajc commented 1 month ago

Thank you for the report, I will look into it soon.

Legolas-Li commented 1 month ago

I have same issue, here are list of commands: pkg show libprotobuf pkg show libprotobuf-tabd-core pkg show termux-adb image image image

nohajc commented 1 month ago

Yes, most likely it means I will have to make a new build. Sorry for the inconvenience.

offici5l commented 1 month ago

thank you for your efforts and great work.

(It seems that the issue is in version 1-2).


Q: is version 1-4 a stable or experimental ? because it works after installing it ! ( of course, I did not try all the commands )

tks you again πŸ™β€οΈ IMG_20240902_102914_162.jpg

nohajc commented 1 month ago

You should always use the latest from my repository but the executable is termux-adb not adb. I renamed it so there isn't any conflict with the original android tools.

offici5l commented 1 month ago

πŸ™ sorry, I just noticed that 1-4 is an older version.

nohajc commented 1 month ago

Current version is 0.2.2-*. Although there is a slight chance the last revision of 0.2.1 might work. I am unable to test at the moment...

nohajc commented 1 month ago

Hi all, I released a new version, so you should be able to upgrade the package now and see if it works for you.

Cheers.

offici5l commented 1 month ago

Works great and tks for your great work πŸ™β€οΈIMG_20240903_212036_298.jpg

Damglador commented 1 month ago

Eyo, just updated packages and it works. Dev is chad

jroovy commented 1 month ago

It works now πŸ‘