Comments (7)
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.
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.
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.
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.
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.
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.
thanks fat-tire, now i can compile and run cSploit without any problem.
from android.
Related Issues (20)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android.