Aliaksei Levin

Results 707 comments of Aliaksei Levin

> 4cores/6GB). I'm not familiar with cmake, but cmake --build . --target install -- -j 4 This is exactly the command, which must not be advertised. GCC needs about 4GB...

The fix direction is right, but there will be more link errors if you try to fix generated files. See https://github.com/tdlib/td/issues/790#issuecomment-553993433 for the correct fix on CMake level.

Have you added ``` android { sourceSets { main { jniLibs.srcDirs = ['src/main/jniLibs'] } } } ``` to your build.gradle?

This should be enough to find libtdjni.so in subdirectories of jniLibs. You may also need `jni.srcDirs = []`, but only to prevent attempts to build native libraries: ``` sourceSets.main {...

Are you using TDLib on watchOS?

What is probability of getting this error?

The problem is in HTTP transport and it currently used by default only on `watchOS`.

No. On all other OS TCP transport is used by default. There is no access to raw sockets on watchOS, so it is forced to use HTTP transport.

HTTPS makes no difference. Telegram doesn't have HTTP/HTTPS API. HTTP is used only as a transport.

TDLib already uses `URLSessionDataTask`. Existence of others makes no difference and is irrelevant to the issue.