Unable to run a hello world app in Tizen

2019-06-12 03:01发布

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

3条回答
够拽才男人
2楼-- · 2019-06-12 03:30

It seems that the target system time is invalid. You can adjust the system time with setting application. When the application is installed, the target time will be checked. It's for checking the certificates validation. The error message is not kind to find the proper reason, It will be improved in near future.

查看更多
地球回转人心会变
3楼-- · 2019-06-12 03:35

Don't you need an extra plugin for retail device ?

What is your actual device ? I assume it works on emulator...

查看更多
Deceive 欺骗
4楼-- · 2019-06-12 03:44

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 :) :) :)

查看更多
登录 后发表回答