-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attempting to make tools/android-build.sh work (WIP) #279
Conversation
one more question: there are two similar android build scripts in |
also, include custom settings to override defaults locally
https://github.com/GrayHatter/uTox/blob/android/tools/build-android.sh This is the one i'm using now. I couldn't get the other to work. |
thanks. both of them did not work here (mostly due to hardcoded paths that do not exist on my end), but i can give this one a try, too... |
For some odd reason, android wont let you change the singing key of the build on the play store, when I learned that, I just rewrote the whole thing. |
now it builds something...
some parts of "android-build.sh" are missing in "build-android.sh". what is and: what is cpu-features.c? it's not in android-build.sh. thank you |
@felix-salfelder so I merged your changes into now it should work for you, you just have to grab the arm libraries from build.tox.chat and Find me here or on IRC if you need more help! If you want to be super awesome, you could add another script that'll |
honestly, my personal reason for the build attempt is to turn the source code into an apk. so i'd rather not want to incorporate even more binaries. my idea is to line up the source repositories for the various projects and build one after the other. i use of course (just in case my approach works), you will in principle be able to
but these lines should clearly go to a different file. another thought: toxcore also provides build scripts, however, these merely invoke the usual build system with specialised options. it might make a lot of sense to do the same here (i.e. use the Makefile provided at top level, rather than reimplement it as a shell script). |
trying to build this thing (for android..
:|
).first of all, i need more flexible paths, i think it make sense to pick them from the environment.
with my first commit i can run
now, i'm getting
ls: cannot access ../openal-arm/lib/: No such file or directory
. can you tell me what this is, and where i can get it from? EDIT: found it. sorry for the noise.thank you
This change is