### Integration Test Setup Source: https://github.com/madeye/proxydroid/blob/master/README.md Commands to run the integration test for host SOCKS5 proxy. This involves starting the proxy server and then running the instrumentation test. ```bash # Terminal 1 — start the SOCKS5 proxy on the host: python3 scripts/socks5_test_server.py --host 0.0.0.0 --port 1080 # Terminal 2 — boot any AVD, then run the instrumentation test: ./gradlew connectedAndroidTest \ -Pandroid.testInstrumentationRunnerArguments.class=org.proxydroid.HostSocks5ProxyIntegrationTest ``` -------------------------------- ### Release Signing Configuration Source: https://github.com/madeye/proxydroid/blob/master/README.md Configuration for signing the release APK. This involves setting up a local.properties file with keystore details. ```properties KEYSTORE_PATH=/absolute/path/to/keystore.jks KEYSTORE_PASSWORD=... KEY_ALIAS=... KEY_PASSWORD=... ``` -------------------------------- ### CMakeLists.txt Configuration Source: https://github.com/madeye/proxydroid/blob/master/app/src/main/cpp/CMakeLists.txt Sets the minimum CMake version and project name for the Proxydroid native build. Includes comments regarding the shift to Rust for native code. ```cmake cmake_minimum_required(VERSION 3.22.1) project(proxydroid_native) # All legacy native targets (exec/libevent/redsocks) have been removed. # Native code is now provided by the Rust tun2socks crate, which is # built by the rust-android-gradle plugin (not by CMake). # # A trivial placeholder library is declared so AGP's externalNativeBuild # CMake task has at least one target to configure successfully. add_library(proxydroid_native_placeholder STATIC placeholder.c) ``` -------------------------------- ### Build Debug and Release APKs Source: https://github.com/madeye/proxydroid/blob/master/README.md Builds the debug or release APK for ProxyDroid using Gradle. The release build requires signing configuration. ```bash ./gradlew assembleDebug ./gradlew assembleRelease ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.