UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Is libertine required for development?

    Scheduled Pinned Locked Moved Solved App Development
    3 Posts 2 Posters 391 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • O Offline
        overlordofdata
        last edited by

        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?

        dobeyD 1 Reply Last reply Reply Quote 1
        • dobeyD Offline
          dobey @overlordofdata
          last edited by

          @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 clickable for 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, libertine is the best method for setting up an environment to do so.

          O 1 Reply Last reply Reply Quote 2
          • O Offline
            overlordofdata @dobey
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post