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

    Error setup clickable

    Scheduled Pinned Locked Moved App Development
    7 Posts 3 Posters 1.9k 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.
      • S Offline
        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?

        Meizu MX4 16.04 | Nexus 5 16.04

        1 Reply Last reply Reply Quote 0
        • W Offline
          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 Offline
            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`

            Meizu MX4 16.04 | Nexus 5 16.04

            1 Reply Last reply Reply Quote 0
            • W Offline
              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 Offline
                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...

                Meizu MX4 16.04 | Nexus 5 16.04

                1 Reply Last reply Reply Quote 0
                • S Offline
                  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

                  Meizu MX4 16.04 | Nexus 5 16.04

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

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

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post