Giter Club home page Giter Club logo

Comments (7)

fat-tire avatar fat-tire commented on July 17, 2024 1

So I'm not a windows user, but I can at least give you some theories of how to build the app (not so much the binary libraries- I've got no idea on how toolchains work in Windows, so you'll have to use the prebuilt ones from a current version). Probably the best and most educational way to learn is to load Ubuntu or another Linux via a virtual machine (such as the free Virtualbox) and install from there, but then you may run the risk of realizing what a piece of shit Windows is and want to use Linux for ever.

To build the app in Windows, should you somehow want to try, you'll first need to download Android Studio for Windows. That should get you the build environment which you'd use for creating the .apk.

Next you'll need the source. I'm not sure the best version of git for windows, but this link came up for me when I did a quit search. This is the program you'll use to get the source code for cSploit. The normal command for doing this is:

 git clone https://github.com/cSploit/android.git

So it'll be something similar in windows. The point is you'll get a directory called "android" with the source inside. You can then open this project from Android Studio. But there's one last step. You'll need to add the prebuilt library files from a current .apk. To do this, rename the cSploit-nightly.apk (or whatever it's called) to cSploit-nightly.zip. If you search inside, you'll find four files:

./armeabi-v7a/libcSploitClient.so
./armeabi-v7a/libcSploitCommon.so
./armeabi/libcSploitClient.so
./armeabi/libcSploitCommon.so

Those go in this jniLibs directory.

Now you can use Android Studio to build the .apk, and voila.. you should have a freshly-made copy of cSploit!

Again, if you've never used Linux before-- don't mind @SwiftOnSecurity -- it's SO much better than Windows. Fire up Virtualbox and give it a try.

from android.

tux-mind avatar tux-mind commented on July 17, 2024

Hi @mcilya .

cd path_to_cSploit_git_root
git pull
git submodule update --init
(cd cSploit/jni; ./build.sh) || cat cSploit/build.log
./gradlew assembleDebug

if you prefer android studio you have to do the upper minus the last command.
then open android studio, click on make/run ( in the top toolbar ).

the generated apk can be found at cSploit/build/outputs/apk/cSploit-debug.apk

an useful resource can be the nightly build script.

from android.

katepratik avatar katepratik commented on July 17, 2024

How to build jin files? I have added all lib to the jin Folder and trying to run ndk-configure file u provided but its not working. Please provid a step by step guide to integrate NDK to the Android code.

from android.

tux-mind avatar tux-mind commented on July 17, 2024

Hi @katepratik , sorry for the late reply, I'm under exams right now.

"not working" is not so much for me to understand what is going bad with your setup.

AFAIK the steps that I wrote in the previous post should work correctly, please report the output so I can help you.

from android.

xaitax avatar xaitax commented on July 17, 2024

In case @tux-mind can't answer in time due to his exams just post here and let me know. As I am building the nightlies.

from android.

Hwiggy avatar Hwiggy commented on July 17, 2024

Hello, is the process similar for Windows? As I try to run the build.sh and the sudo command cannot be located, ends up failing.

from android.

zodd7 avatar zodd7 commented on July 17, 2024

thanks fat-tire, now i can compile and run cSploit without any problem.

from android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.