Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Error setup clickable

    App Development
    3
    7
    957
    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.
    • S
      stefwe last edited by

      i try to setup clickable and following the wiki. But i get a error on the last step.

      einstein@clickablecontainer:~$ clickable setup-lxd
      No clickable.json was found, using defaults and cli args
      Going to setup the lxd container
      Asking for root to create the lxd container
      sudo: no tty present and no askpass program specified
      Command '['sudo', '/home/einstein/clickable/usdk-target', 'create', '-n', 'clickable-armhf', '-p', '78198b8305710aab554d92f9b80b913db9ade62d3eb0aaa8f9d44e92fc80d5dd']' returned non-zero exit status 1
      

      i think i need sudo, but if i start with sudo i get the message "command not found"

      any idea what is wrong on my setup?

      1 Reply Last reply Reply Quote 0
      • W
        wgarcia last edited by

        It seems to me that the container was created despite the messages that you get. Have you tried using clickable now on some project?

        S 1 Reply Last reply Reply Quote 0
        • S
          stefwe @wgarcia last edited by stefwe

          @wgarcia no i don't, i will try and report what happens...

          update: i try and get this information

          einstein@clickablecontainer:~/ut-app-template$ clickable
          No lxd container exists to build in, please run `clickable setup-lxd`
          1 Reply Last reply Reply Quote 0
          • W
            wgarcia last edited by wgarcia

            Then, try to run "clickable setup-lxd" within a directory where you actually have a clickable.json file. Check the ubports github repositories and clone any of them which has a clickable.json for this.

            S 1 Reply Last reply Reply Quote -1
            • S
              stefwe @wgarcia last edited by

              @wgarcia now i try to setup clickable on my device not in a lxc container.

              now i get no connection to my mx4

              Successfully built package in './app.bhdouglass_1.0_armhf.click'.
              error: device not found
              Command 'adb push /home/stefan/ubports/ut-app-template/build/app.bhdouglass_1.0_armhf.click /home/phablet/' returned non-zero exit status 1
              

              if i'm looking for any devices

              * daemon not running. starting it now on port 5037 *
              * daemon started successfully *
              List of devices attached 
              

              the list of devices is empty...

              1 Reply Last reply Reply Quote 0
              • S
                stefwe last edited by

                i don't enable the developer mode... sorry for this stupid question...

                now it works, i can see hello world on my phone

                1 Reply Last reply Reply Quote 0
                • L
                  L-00067 Banned last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post