Install Android Studio. Once it is running, import tordroid by navigating to where you cloned or downloaded it and selecting settings.gradle. When it is finished importing, click on the SDK Manager . You will want to install SDK version 30.
Make sure that you have JDK 8 installed before building. You can get it here from Oracle (login required) or you can opt for the Open Source version from OpenJDK here . Once you have that installed, navigate to File > Project Structure > SDK Location and change the path of your current JDK to the path of the new JDK.
Once it is finished installing, you will need to enable developer options on your phone. To do so, go into settings, About Phone, locate your Build Number, and tap it 7 times, or until it says "You are now a Developer". Then, go back to the main Settings screen and scroll once again to the bottom. Select Developer options and enable USB Debugging.
Then plug your phone into your computer and hit the large green play button at the top of
Android Studio. It will load for a moment before prompting you to select which device to install
it on. Select your device from the list, and hit continue.
NOTE
If you are attempting to build on a Lollipop emulator, please ensure that you are using Android 5..* armeabi-v7*. It will not build on an x86/x86_64 emulator.