ganskef / LittleProxy-mitm

Man-In-The-Middle extension for LittleProxy
https://github.com/adamfisk/LittleProxy
Apache License 2.0
223 stars 94 forks source link

ittleProxy-mitm on android. #42

Open Anatame opened 2 years ago

Anatame commented 2 years ago

I'm trying to run LittleProxy-mitm on android with the code:

 val server = DefaultHttpProxyServer.bootstrap()
            .withAddress(InetSocketAddress("127.0.0.1",  8100))
            .withManInTheMiddle(CertificateSniffingMitmManager())
            .start() but the app crashes with this error.
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/commons/io/IOUtils;

Full error:

AltaOfficial commented 1 year ago

You have to import commons.io

implementation("commons-io:commons-io:2.4")