When working with newer versions of tor-android (i.e org.torproject:tor-android-binary:0.4.2.7a), the so-file is named libtor.so.
This is because in Android SDK 29, the file won't be copied to the nativeLibraryDir unless it's prefixed with lib.
This is commit changes AndroidTorConfig and TorConfig to use libtor.so instead, to be able to work with newer versions of tor-android.
When working with newer versions of
tor-android
(i.eorg.torproject:tor-android-binary:0.4.2.7a
), the so-file is namedlibtor.so
.This is because in Android SDK 29, the file won't be copied to the
nativeLibraryDir
unless it's prefixed with lib.This is commit changes
AndroidTorConfig
andTorConfig
to uselibtor.so
instead, to be able to work with newer versions oftor-android
.This change is