Solved Is libertine required for development?
I recently got a new phone, so I’ve installed ubports on my old nexus4. I’m a dev by trade, and find myself drawn to write my own code for my phone. My question is about where to do this.
I have discovered that I can do this either in the ubport main image, and also in the libertine container image. But libertine is awkward, and doesn’t help gui – in fact the lubuntu software center is unusable due to gui issues. Command line only programs, like git, work just as well in either image. But I’ve read in the forums that installing and compiling in the main image will lead to end of device problems. I also cannot find this limit mentioned in the documentation. And I wonder if this is true, how does it affect development of clickables.
Going with android is even worse – I haven’t found any environment where Anbox actually works, let alone on ubports.
So what is the deal? Can I skip enabling libertine and develop straight into the main image? Or am I required to use libertine?
@overlordofdata Well, libertine is not required to develop apps, no. Neither is a phone running UT either, really. You can develop applications on your PC, and build them for your phone, using
clickablefor example, as described in https://docs.ubports.com/appdev (where of course you will find no mention of libertine, since it is not expected that people will develop apps directly on the device, generally).
If you want to develop directly on the device, then yes,
libertineis the best method for setting up an environment to do so.
@dobey thanks for clarifying the workflow. I was expecting it to be more like with an rpi, where I use sshfs in the ide to control the build remotely from my desktop.