Hi I\'d like to know how to compile an app source code on an android platform? I know it\'s possible because I saw some apps that are doing it... Thanx ahead!
Possible in a number of ways...
There have been apps - proprietary & open source - built for the purpose. I am not sure if these apps will be at least near the production quality. But they work:
It mainly depends on language you are writing - since cross platform app development is also possible on Android.
• Java: Java N-IDE, AIDE
• JavaScript: NativeScript CLI, Appcelerator Titanium CLI, Apache Cordova via CLI. [All these can be installed via node.js package manager (npm
) which in turn can be installed via Dory NodeJS
, GNURoot Debian
or Termux
apps..
• Linux CLI utilities can be installed on Android simply with a terminal shell or GNURoot
/ Termux
. You can also Emulate complete PC OS using Limbo PC Emulator
/ Bochs
[Although they should be lightweight]. In theory, by this way you should be able to use almost all Android development utilities. But Storage, memory & performance constraints come to play..
• There are other apps & web services for hobbyists: eg: Sketchware, DroidScript, Appy Pie, Monaca, PhoneGap Build and many others.... But don't expect professional quality apps using them..