Unable to run a hello world app in Tizen

☆樱花仙子☆ 提交于 2019-12-23 05:19:48

问题


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?

UPDATE1:

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

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

UPDATE2:

UPDATE3:

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


回答1:


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:

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

Do login.

Upload .csr file.

After doing these steps, you will get e-mail with .crt file.

Upload .crt file with password,

Same goes for device profile.

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

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

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

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

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




回答2:


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:


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

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



来源:https://stackoverflow.com/questions/34580484/unable-to-run-a-hello-world-app-in-tizen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!