Open pingothedoer opened 3 years ago
Executable files are no longer supported for API 29+ from data/data and the shared native libs must be extracted to the native Dir.
@05nelsonm Thanks, Will the implementation of TOR be same? Just need to replace the dependencies ???
So is there any way to make this library work?
Hi. Since November is the deadline for all the apps to start using targetSdkVersion 29, This library doesn't work. Here are the logs that i faced when i upgraded my sdk version.
W/System.err: java.io.IOException: Cannot run program "/data/user/0/<app-id>/app_torfiles/tor" (in directory "/data/user/0/<app-id>/app_torfiles"): error=13, Permission denied W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050) W/System.err: at com.msopentech.thali.toronionproxy.OnionProxyManager.installAndStartTorOp(OnionProxyManager.java:366) W/System.err: at com.msopentech.thali.android.toronionproxy.AndroidOnionProxyManager.installAndStartTorOp(AndroidOnionProxyManager.java:66) W/System.err: at com.msopentech.thali.toronionproxy.OnionProxyManager.startWithRepeat(OnionProxyManager.java:106) W/System.err: at <app-id>.shared.tor.TorProxyService.onHandleIntent(TorProxyService.kt:24) W/System.err: at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:78) W/System.err: at android.os.Handler.dispatchMessage(Handler.java:107) W/System.err: at android.os.Looper.loop(Looper.java:214) W/System.err: at android.os.HandlerThread.run(HandlerThread.java:67) W/System.err: Caused by: java.io.IOException: error=13, Permission denied W/System.err: at java.lang.UNIXProcess.forkAndExec(Native Method) W/System.err: at java.lang.UNIXProcess.<init>(UNIXProcess.java:133) W/System.err: at java.lang.ProcessImpl.start(ProcessImpl.java:141) W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) W/System.err: ... 8 more
And here is my implementation for
TorProxyService