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

    Unable to start app because of invalid app ID (xenial) [solved]

    Scheduled Pinned Locked Moved App Development
    3 Posts 2 Posters 856 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.
      • Z Offline
        zubozrout
        last edited by zubozrout

        Hello,
        I've been trying to migrate an app previously created for vivid over to xenial and it seems to be bumping into the following issue:
        ** (process:5611): WARNING **: Unable to start app 'transport.zubozrout_Transport_1.1': Invalid app ID: transport.zubozrout_Transport_1.1

        That is everything builds fine, the predecessor of this app even works fine, but for some reason I can't launch this app. If I build it with 15.04 it launches fine on xenial but doesn't work as it should afterwards.

        So my question is, how is the app ID string generated so that I can change it to a valid string. And what is the issue? Is it the uppercase T, numbers or the dot?

        (I am using clickable on 18.04 tu build my old Ubuntu SDK project)

        Appreciate all your help.

        advocatuxA 1 Reply Last reply Reply Quote 2
        • advocatuxA Offline
          advocatux @zubozrout
          last edited by

          @zubozrout have you seen the PM I've sent you?

          1 Reply Last reply Reply Quote 1
          • Z Offline
            zubozrout
            last edited by

            Ok, it turned out my issue was that the old Ubuntu SDK project had the following line set in the Transport/Transport.pro file:
            desktop_file.files = $$OUT_PWD/*.desktop

            which turned out to work fine for vivid but for xenail the desktop file was missing from the final click package.

            So if anyone bumps into the similar issue you may try changing the above glob with a full path like this:
            desktop_file.files = $$OUT_PWD/Transport.desktop

            Once done the build project should be working (exacutable) on Xenial.

            Thank you @dohbee for helping me so much with this.

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