I would like to build a simple apk compiler that runs on android. The objective is to compile some java/android app source code within android.
I searched a lot on Internet but could not find something that could help me with this.
Any of you knows if this is possible? I know AIDE, but I wanted to see how the process of compiling and apk on Android Phone works.
Related
Good day,
I'm looking for help on recompiling a github source code/repository to an APK file.
I'm currently working on an app and I am using the Dolphin source code as a reference since its really organized and close enough of a reference to what I already have.
The format for my source code is basically like theirs as seen here: https://github.com/dolphin-emu/dolphin
I have no idea on how to compile those files to a signed or unsigned apk.
I tried using Android studio (v3.6.3) before but got lost on what to do and gave up for a week..... so now I'm looking for some help. I would like if someone could teach me the process, so I could practice converting the Dolphin github repository to an apk and then apply that knowledge to progress into creating an alpha build of my app for testing.
PS. I'm a bit new to coding and App creation (learning on my own right now, especially during the quarantine where I live) so I'd really appreciate any help!
Thanks in advance.
This one is written by C++/C. You cannot make it a APK. But instead you can write another app as a "wrapper application" to launch your C++/C project. By calling shell command or NDK.
I'm taking the android nano degree program and submitted my project with a couple files marked .old so I could reference them later. This may have been unprofessional and probably not appropriate for a submission, but the reviewer said the app couldn't compile because of them...
I am running the whole course off of my phone via AIDE for compiling and it compiles and runs just fine... Does anyone know if it would cause a compile error in android studio or eclipse?
I don't own a computer to check this very simple thing.
I want to compile the source code of my android phone. I have an Alcatel OT6010D Android 4.1.1 . Source code for my device is available from Vendor. Here is the link:
http://sourceforge.net/projects/alcatel/files/OT_6010D_20130509.tar.xz/download
But I don't know what to do with this source how to compile it etc.
If anyone could guide me, it would be so nice.
Just to for orientation I am an Embedded system programmer so if someone could tell me some starting point it would be a nice start for me.
Thanks
You can start at The Android Source Code.
At Downloading and Building, you have subitems Building the System, which describes the common parts, Building for devices, describing specific information to individual devices and Building Kernels, if you just want to build the kernel alone.
I have a custom made C (cross-platform) application. An OpenVPN variant. I want to compille this for the Android version with NDK.
It compiles under Linux. Does this mean i can easily compile it for Andoird too with the NDK? And if so, how can i communicate with my library through Java code (the normal Android SDK)?
I'm not really that far yet to do the actual implementation part. But i'd like to know what i can expect in advance.
So if you have any experience with the NDK and have any tips/pointers for me, then you'd really help me alot. Like, things i should look out for when working with the NDK. Compile settings etc.
Thanks for any help.
My Openvpn for Android application is open sourced. See https://github.com/schwabe/ics-openvpn/ Since you wrote that you are using an OpenVPN variant looking at the Android.mk files of my project might help you.
This is more of a theoretical questions, one which I may not have thought through properly, but is it POSSIBLE to compile an Android app ON an Android device?
As in, write up the sourcecode on the device, compile, test and deploy it, without having to use an other OS for any part of the process?
In theory, yes. In practice, this is a lot of work. Compiling an android app involves a lot of separate tools, like the full-blown JDK, and a lot of other tools sign the resulting JAR and package it into an APK. That would have to be ported to Android, which is a major undertaking.