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

    create an app to ubuntu touch

    Scheduled Pinned Locked Moved App Development
    7 Posts 4 Posters 1.3k Views 3 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.
    • 0 Offline
      007fred50
      last edited by

      Hello,

      how can i create an app to ubuntu touch ?
      and ubuntu store

      100% free IDE and software

      1 Reply Last reply Reply Quote 0
      • lduboeufL Offline
        lduboeuf
        last edited by lduboeuf

        I guess you already look at http://docs.ubports.com/en/latest/appdev/index.html?

        No specific IDE needed, but i recomment using clickable toolkit for a starter template, and easy deploy, test.
        I personaly use the clickable ide qtcreator feature that can give you full code completion and code navigation.
        There are also resources on Youtube that help you get started.

        Enjoy šŸ™‚

        1 Reply Last reply Reply Quote 0
        • 0 Offline
          007fred50
          last edited by 007fred50

          Hello,

          I have installed (sudo apt install ubuntu-sdk)
          Then i run "clickable ide qtcreator" i got this here:
          No builder was specified, would you like to auto detect the builder [y/N]:

          Y:
          Auto detected builder to be "pure"
          There are spaces in the current path, this will cause errors in the build process
          N:
          Not auto detecting builder

          something i do wrong?

          i am pretty new to this ubuntu touch. šŸ™‚

          KenedaK 1 Reply Last reply Reply Quote 0
          • KenedaK Offline
            Keneda @007fred50
            last edited by Keneda

            @007fred50 said in create an app to ubuntu touch:

            There are spaces in the current path, this will cause errors in the build process

            If i where you, i would change spaces by underscores on this path name. (and maybe on any paths)

            2015-2023 : Meizu MX4 ā˜ ļøāš°ļøāœļø
            2023-2024 : Nexus 5 ā˜ ļøāš°ļøāœļø
            2024-***** : FPOS Fairphone 5
            šŸ‡²šŸ‡«šŸ‡¬šŸ‡§

            1 Reply Last reply Reply Quote 0
            • 0 Offline
              007fred50
              last edited by

              Foudn out to create project is:
              Comamnd: (clickable init)
              i got a problem here

              but end of create:

              fredy@fredy-TUF-Gaming-FA706IU-FX706IU:~/Desktop/ubuntu touch/demo$ clickable init
              You've cloned /home/fredy/.cookiecutters/ut-app-meta-template before. Is it okay to delete and re-clone it? [yes]: 
              Cloning into 'ut-app-meta-template'...
              remote: Enumerating objects: 304, done.
              remote: Counting objects: 100% (304/304), done.
              remote: Compressing objects: 100% (127/127), done.
              remote: Total 304 (delta 178), reused 285 (delta 159), pack-reused 0
              Receiving objects: 100% (304/304), 65.52 KiB | 0 bytes/s, done.
              Resolving deltas: 100% (178/178), done.
              Checking connectivity... done.
              Select Template:
              1 - QML Only
              2 - C++
              3 - Python
              4 - HTML
              5 - Go
              6 - Rust
              Choose from 1, 2, 3, 4, 5, 6 [1]: 1
              Title [App Title]: Demo
              Description [A short description of your app]: Demo 
              App Name [appname]: Demo
              Namespace [demo]: 
              Maintainer Name [demo]: 
              Maintainer Email [demo@demo.dk]: 
              Select License:
              1 - GNU General Public License v3
              2 - MIT license
              3 - BSD license
              4 - ISC license
              5 - Apache Software License 2.0
              6 - Not open source
              Choose from 1, 2, 3, 4, 5, 6 [1]: 
              Copyright Year [2020]: 
              Git Tag Versioning [n]: 
              Save as Default [n]: Y
              DEBUG:clickable:Encountered an unknown error
              Traceback (most recent call last):
                File "/usr/lib/python3/dist-packages/clickable/__init__.py", line 275, in main
                  clickable.run(args.commands, args)
                File "/usr/lib/python3/dist-packages/clickable/__init__.py", line 259, in run
                  cmd.run(command_arg)
                File "/usr/lib/python3/dist-packages/clickable/commands/create.py", line 58, in run
                  config_file=config_file,
                File "/usr/lib/python3/dist-packages/cookiecutter/main.py", line 140, in cookiecutter
                  output_dir=output_dir
                File "/usr/lib/python3/dist-packages/cookiecutter/generate.py", line 327, in generate_files
                  generate_file(project_dir, infile, context, env)
                File "/usr/lib/python3/dist-packages/cookiecutter/generate.py", line 177, in generate_file
                  with io.open(outfile, 'w', encoding='utf-8') as fh:
              FileNotFoundError: [Errno 2] No such file or directory: '/home/fredy/Desktop/ubuntu touch/demo/Demo/clickable.json'
              Encountered an unknown error: [Errno 2] No such file or directory: '/home/fredy/Desktop/ubuntu touch/demo/Demo/clickable.json'
              CRITICAL:clickable:Encountered an unknown error: [Errno 2] No such file or directory: '/home/fredy/Desktop/ubuntu touch/demo/Demo/clickable.json'
              If you believe this is a bug, please file a report at https://gitlab.com/clickable/clickable/issues with the log file located at /home/fredy/.clickable/clickable.log
              CRITICAL:clickable:If you believe this is a bug, please file a report at https://gitlab.com/clickable/clickable/issues with the log file located at /home/fredy/.clickable/clickable.log
              

              sorry, how can i fix that error?

              1 Reply Last reply Reply Quote 0
              • 0 Offline
                007fred50
                last edited by

                sorry i foudn out how to create new project, i forgot sudo start of the command

                1 Reply Last reply Reply Quote 0
                • joniusJ Offline
                  jonius
                  last edited by

                  sudo should never be necessary when working with Clickable. I guess the spaces in your path caused the issue. If it persists even without spaces, please file a bug. I'd also suggest you have a look at the Clickable Documentation.

                  The sudo apt install ubuntu-sdk does not help. Clickable comes with its own docker images containing everything it needs.

                  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