raise-isayan / TunProxy

Android VPN interceptor to send HTTP and HTTPS traffic to a proxy
454 stars 162 forks source link

how create .apk? #11

Open faitno opened 3 years ago

faitno commented 3 years ago

Perfect description! This tool that I need! But, how I make .apk for install on my android?

Deepanshusuman commented 3 years ago

import the folder in android studio and build the apk

pchaukachow commented 3 years ago

if one doesn't want to use android studio (because it's bulky) and you simply have to build it then do this go to directory /android_app and on cmd line windows: gradlew.bat build linux/ubuntu/debian etc...: gradlew build before running the above cmd, make sure to set JAVA_HOME (google how to set that) After successful build, find apks in the folder \android_app\app\build\outputs\apk

pggdt commented 3 years ago

This is really a good app that meets my needs too. I have compiled an apk from the source code, you could download it here. I also would like to upload the apk to F-Droid, but I didn't see the license of this project. So I don't whether I could upload it. Thanks to raise-isayan for this great app.


2022-07-23: Here comes the new release, hope you enjoy it:) I signed this release so that you won't lose the profile with the new releases after this one.

zhangguanzhang commented 2 years ago
git clone https://github.com/raise-isayan/TunProxy.git
cd TunProxy
chmod -R 3434:3434 android_app
docker run --rm -ti -v $PWD/android_app:/home/circleci/project  cimg/android:2022.04  bash 
$ ./gradlew build
dsultanr commented 2 years ago

$ gradlew build

this should be

./gradlew build