Search code examples
tizentizen-native-app

Unable to run a hello world app in Tizen


I'm unable to run a simple native application "hello world" in tizen 2.4 rev2 due to an error shown in the screenshot.

I'm trying to run it on a real device which is setup for development -- Developer Options are visible and Debug via USD is activated.

How to fix it?

enter image description here

UPDATE1:

Right click on the id of a device -> Permit Install applications and an error:

enter image description here

How can I register it? Is it that all only to run a simple hello world application?

UPDATE2:

enter image description here

UPDATE3:

I've generated a certificate, but there's no "*.crt" file, there's only p12. What should I do in this window?

enter image description here


Solution

  • Check if it installs fine on emulator. Because emulator don't need certificate registration. You MUST do certificate registration if you want to install app on real Tizen device. The registration is free and simple to do. Here is link : https://developer.tizen.org/fr/development/tools/common-tools/certificate-registration?langredirect=1 .

    Do this again : Right click on the id of a device -> Permit Install applications. It uploads certificate to that device.

    Look into this link about registration : http://developer.samsung.com/gear/guide-registering-certificates

    Hope this helps.

    UPDATE : Question demands info about .crt file :

    Follow the screenshots below:

    enter image description here

    enter image description here

    enter image description here

    enter image description here

    Please note the .csr file path. You will need it.

    enter image description here

    Do login.

    enter image description here

    Upload .csr file.

    After doing these steps, you will get e-mail with .crt file. email snapshot containing author.crt attachment

    Upload .crt file with password,

    Upload .crt file with password

    Same goes for device profile.

    Request Device profile

    Request test profile

    This time you will receive .xml file with password [Don't forget to use this password for "Device profile" section].email sanapshot containing device-profile.xml file

    Upload .xml file you received via email, and password you received via e-mail.

    Upload .xml

    Right click on device from connection explorer and > permit to install applications...

    Connection explorer

    And finally you will see this beautiful screen... :)

    Succeeded to upload certificate.

    Now try running app. It should run fine :) :) :)