Closed koljanich closed 1 year ago
It already does? OnionFruit sets the system proxy to localhost:9050 (or closest available port) so if you check the app settings and set it to use the system proxy then there should be no issue.
I download SDK through Socks proxy, but gradle resources not download. It need Http/s Error: Failed to get resource: GET. [HTTP HTTP/1.1 403 Forbidden: https://jcenter.bintray.com/com/android/application/com.android.application.gradle.plugin/7.4.2/com.android.application.gradle.plugin-7.4.2.pom)] Resource missing. [HTTP GET: https://dl.google.com/dl/android/maven2/com/android/application/com.android.application.gradle.plugin/7.4.2/com.android.application.gradle.plugin-7.4.2.pom] Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/com/android/application/com.android.application.gradle.plugin/7.4.2/com.android.application.gradle.plugin-7.4.2.pom]
But in browser all loaded normal.
It's not a https proxy, it's a http proxy
Same result
only other thing you can try is setting the following option in gradle.properties (it's a socks5 proxy more specifically)
org.gradle.jvmargs=-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=9050
if this doesn't work, there's not a lot more I can offer in terms of app-specific port. The proxy is a socks5 proxy, so if you're able to find any additional information on how to set gradle to use it then i'd suggest trying that.
Add args to org.gradle.jvmargs in gradle.properties org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=9050
Nothing to change... Same error
in that case there's not a lot more I can do, it's down to the program itself to support system proxies, so you might need to take this up with android studio/gradle (as in their program doesn't support socks5 proxies, not that it doesn't support onionfruit)
Describe the bug Some programs, like Android Studio, need Http/s proxy to download gradle. Please open in program Http/s proxy port.
Expected behaviour I expect you open it! I really need this!