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

Problem with permisions debugging newapp

Scheduled Pinned Locked Moved App Development
20 Posts 4 Posters 2.0k Views 2 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.
    • J Offline
      Josué
      last edited by advocatux 17 Aug 2018, 20:31

      whatever, here is the log: https://paste.ubuntu.com/p/KWKhc86H8w/

      A 1 Reply Last reply 17 Aug 2018, 20:48 Reply Quote 0
      • A Offline
        advocatux @Josué
        last edited by 17 Aug 2018, 20:48

        @josué I fixed your 402 lines log 😉

        1 Reply Last reply Reply Quote 0
        • A Offline
          advocatux
          last edited by 18 Aug 2018, 09:12

          @Josué did you fix your issue? Have you checked that everything you need for your app is inside the click package? Have you checked the path to the sound files?

          1 Reply Last reply Reply Quote 0
          • J Offline
            Josué
            last edited by 18 Aug 2018, 12:10

            nope, I tried with the tablet and the phone in 16.04 and with the tablet in 15.04. Same problem.
            I'll try to convert the files to ogg and check again 😕

            1 Reply Last reply Reply Quote 0
            • A Offline
              arubislander
              last edited by arubislander 18 Aug 2018, 16:39

              Are you building your app with clickable? If so, after adding the required policy group, it isn't picked up without first doing clickable clean first.
              EDIT: Maybe the clickable clean is not necessary, even though it doesn't hurt. What does help though is to manually uninstall the old application from the device before building and deploying the new one.

              🇦🇼 🇳🇱 🇺🇸 🇪🇸
              Happily running Ubuntu Touch
              Google Pixel 3a (20.04 DEV)
              JingPad (24.04 preview)
              Meizu Pro 5 (16.04 DEV)

              1 Reply Last reply Reply Quote 0
              • J Offline
                Josué
                last edited by advocatux 21 Aug 2018, 10:35

                Sorry i was busy last days.

                No, I made it with ubuntu-sdk.

                I tried something
                I converted the wav files to ogg files and i replaced the order SoundEfect to Audio.
                Now i can see something interesting in the log but I need help with it too, maybe both were related at all.
                As i Can in the click therre arent the sound files that i puted in the proyect

                0_1534845835496_e1e80fcf-b7fa-4052-8134-43699a5813bd-image.png

                I also don't know why it happens 😕

                A A 2 Replies Last reply 21 Aug 2018, 11:34 Reply Quote 0
                • A Offline
                  advocatux @Josué
                  last edited by 21 Aug 2018, 11:34

                  @josué I fixed your image 🙂

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    arubislander @Josué
                    last edited by arubislander 22 Aug 2018, 11:07

                    @josué said in Problem with permisions debugging newapp:

                    No, I made it with ubuntu-sdk.
                    I tried something
                    I converted the wav files to ogg files and i replaced the order SoundEfect to Audio.
                    Now i can see something interesting in the log but I need help with it too, maybe both were related at all.
                    As i Can in the click therre arent the sound files that i puted in the proyect

                    Right... I had the same problem with my app. I would add some (image in my case) files, and they would not be added to the click package.

                    This is due to the way the SDK sets up its projects. And to get the files included requires editing some CMakeLists.txt files. The SDK makes one for each folder in your project. And if you add a new folder you have to make a corresponding CMakeList.txt too. Buy I never really understood the syntax used in those files.
                    Clickable, on the other hand, sets up the project with just one CMakeList.txt file, in the projects root folder. Every new folder you add under that is automatically included in the click.

                    So what I ended up doing for my project was:

                    • Rename my old project folder
                    • Create a new clickable project with clickable init with the same meta data (project name, maintainer, etc) as the old project.
                    • Copy over all the files from the old folder that I need in my project
                    • Build

                    The added benefit is that you can open the project created by clickable in the SDK too(or at least you should be able to)

                    🇦🇼 🇳🇱 🇺🇸 🇪🇸
                    Happily running Ubuntu Touch
                    Google Pixel 3a (20.04 DEV)
                    JingPad (24.04 preview)
                    Meizu Pro 5 (16.04 DEV)

                    1 Reply Last reply Reply Quote 2
                    • J Offline
                      Josué
                      last edited by 22 Aug 2018, 20:39

                      wow thanks for the info that will save me a lot of time investigating it. Now i'll try to use clickable in the next days...

                      Thanks a lot.
                      Advocatux, thanks for fixing my posts I didn't wanted to spam the thread just to say thanks xD

                      A 1 Reply Last reply 22 Aug 2018, 20:46 Reply Quote 1
                      • A Offline
                        advocatux @Josué
                        last edited by 22 Aug 2018, 20:46

                        @josué no problem & you're welcome 🙂

                        1 Reply Last reply Reply Quote 0
                        20 out of 20
                        • First post
                          20/20
                          Last post