vhqtvn / VHEditor-Android

Run Code-server on Android
Other
976 stars 106 forks source link

Cannot Link Executable #255

Closed AryaReal1 closed 1 year ago

AryaReal1 commented 1 year ago

Hey! I got this error went I execute a pkg upgrade, pkg update, and pkg install node in the editor terminal. I use arm64 app, version 2.15.0

CANNOT LINK EXECUTABLE "/data/data/vn.vhn.vsc/files/usr/lib/apt/methods/https": library "libbrotlienc.so" not found: needed by /data/data/vn.vhn.vsc/files/usr/lib/libgnutls.so in namespace (default)
Reading package lists... Done
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (1)
E: Method /data/data/vn.vhn.vsc/files/usr/lib/apt/methods/https did not start correctly
E: Failed to fetch https://vsc.vhn.vn/termux-packages-24/dists/stable/InRelease  
E: Some index files failed to download. They have been ignored, or old ones used instead.

Can someone help me fixing this error? :D

Ahmadrezalbs commented 1 year ago

libbrotli-termux.zip Download and extract this archive and copy or move extracted files to the VhEditor "/data/data/vn.vhn.vsc/files/usr/lib/" folder in terminal.

100 % working.

for example :

AryaReal1 commented 1 year ago

Ok, that's good! But the problem still NOT fixed. After copy-paste that, now it can't locate symbol "gnutls_free".

CANNOT LINK EXECUTABLE "/data/data/vn.vhn.vsc/files/usr/lib/apt/methods/https": cannot locate symbol "gnutls_free" referenced by "/data/data/vn.vhn.vsc/files/usr/lib/apt/methods/http"...
Reading package lists... Done
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (1)
E: Method /data/data/vn.vhn.vsc/files/usr/lib/apt/methods/https did not start correctly
E: Failed to fetch https://vsc.vhn.vn/termux-packages-24/dists/stable/InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.