语言

Menu
Sites
Language
I can't install application from Tizen studio

​Hello,

I can't install Template application into my SM-Z130H device.

As error log is too simple to guess what is the problem, I can't try to find out the problem.

Even I try to install in sdb shell by pkgcmd but I failed.

I am using Mac OS X Sierra (10.12.3) and Tizen Studio 1.1.0 (2016-12-21 02:22)

My device image is TIZEN 2.4.0.3(Z130HDDU0CPI1)

 

 

 

 

查看选择的答案

响应

11 回复
Peter Wegner

I see Error 61...

 

So I think something is wrong or missing in folder:

home/developer

device-profile.xml

 

Or date/time problem in SM-Z130H...

 

Best Regards

Seongwon Cho

Thank you for your reply.

Actually I can't find out "Permit to install applications" option when I right-click in my tizen studio.

I would better use Windows or Linux than MAC. :(

Yasin Ali

Hi~,

You may try several steps:

- Install Certificate extension if already not.
- Deleting old certificates( from folder also ) and create new(Author,Dist). Disconnect all devices and emulator(if possible delete them)
- Check Device time to sync with development platform.
- Clear log from Tizen Studio directory
- Check your firewall settings and port blocking. Also check if strength of connection is good.
- Check if your OS version differs(API usage compatibility. Check device version, API version, App OS version with device OS mismatch etc.).
- May add privilege - download, packagemanager.info, externalstorage, check all necerraries are present.
- Check which profile is activated now
  Then clean all projects and build workspace. (Project -> Clean -> "Clean All Projects" and "Build Entire Workspace").
- Run App in Debug Mode
- Restart your device (/ Recreate emulator)
  Check https://developer.tizen.org/ko/community/tip-tech/trouble-shooting-certification?langredirect=1 also.

- You also may consider to Uninstall Tizen Studio and re-install it to a different directory.


Hope it will work.
If you find my post is helpful , please mark it as the Best Answer to promote this post to others.

Seongwon Cho

Thank you for your help.

Seongwon Cho

This is logs from device...

 

01-30 00:30:33.840 : ERROR / PKGMGR ( 31645 : 31645 ) : pkgmgr.c: pkgmgr_client_install(1605) > install pkg start.
01-30 00:30:33.940 : ERROR / PKGMGR_SERVER ( 31648 : 31648 ) : pkgmgr-server.c: main(2414) > package manager server start
01-30 00:30:34.010 : ERROR / PKGMGR_SERVER ( 31648 : 31648 ) : pkgmgr-server-internal.c: _zone_set_type_and_backend(180) > tep_filepath [/opt/usr/apps/tmp/org.example.threadtest-1.0.0-arm.tpk]
01-30 00:30:34.020 : ERROR / PKGMGR_INFO ( 31648 : 31648 ) : pkgmgrinfo_pkginfo.c: pkgmgrinfo_pkginfo_get_unmounted_pkginfo(778) > (exist == 0) pkgid[/opt/usr/apps/tmp/org.example.threadtest-1.0.0-arm.tpk] not found in DB
01-30 00:30:34.020 : ERROR / BACKEND_LIB ( 31648 : 31648 ) : librpm.c: __installer_util_delete_dir(179) > opendir(/tmp/coretpk-unzip) failed. [2][No such file or directory]
01-30 00:30:34.030 : ERROR / PKGMGR_SERVER ( 31648 : 31648 ) : pm-mdm.c: _pm_check_mdm_policy(75) > [_pm_check_mdm_policy(): 75](ret != MDM_RESULT_SUCCESS) can not connect mdm server
01-30 00:30:34.030 : ERROR / PKGMGR_SERVER ( 31648 : 31648 ) : pkgmgr-server.c: __set_recovery_mode(234) > rev_file[/opt/share/packages/.recovery/pkgmgr/org.example.threadtest-1.0.0-arm.tpk] is null
01-30 00:30:34.030 : ERROR / PKGMGR ( 31645 : 31645 ) : pkgmgr.c: pkgmgr_client_install(1723) > install pkg finish, ret=[316450002]
01-30 00:30:34.110 : ERROR / rpm-installer ( 31652 : 31652 ) : rpm-appcore-intf.c: main(104) > ------------------------------------------------
01-30 00:30:34.110 : ERROR / rpm-installer ( 31652 : 31652 ) : rpm-appcore-intf.c: main(105) >  [START] rpm-installer: version=[20151006.1]
01-30 00:30:34.110 : ERROR / rpm-installer ( 31652 : 31652 ) : rpm-appcore-intf.c: main(106) > ------------------------------------------------
01-30 00:30:34.180 : ERROR / PKGMGR_INSTALLER ( 31652 : 31652 ) : pkgmgr_installer.c: pkgmgr_installer_receive_request(225) > option is [i]
01-30 00:30:34.180 : ERROR / rpm-installer ( 31652 : 31652 ) : rpm-appcore-intf.c: main(191) > [/opt/usr/apps/tmp/org.example.threadtest-1.0.0-arm.tpk] is tpk package.
01-30 00:30:34.190 : ERROR / rpm-installer ( 31652 : 31652 ) : coretpk-parser.c: _coretpk_parser_is_svc_app(1225) > (ret == 1) NodeSet is empty. (//*[name() = 'manifest']/*[name()='service-application'])
01-30 00:30:34.190 : ERROR / rpm-installer ( 31652 : 31652 ) : coretpk-parser.c: __coretpk_parser_get_value(1341) > (result_value == NULL) [install-location] is empty.
01-30 00:30:34.190 : ERROR / rpm-installer ( 31652 : 31652 ) : coretpk-parser.c: __coretpk_parser_get_value_list(1298) > (ret == 1) [//*[name() ='privileges']/*[name()='privilege']] is empty.
01-30 00:30:34.200 : ERROR / rpm-installer ( 31652 : 31652 ) : coretpk-parser.c: __coretpk_parser_is_theme(39) > (ret == 1) metadata(watchface) is empty.
01-30 00:30:34.200 : ERROR / rpm-installer ( 31652 : 31652 ) : coretpk-parser.c: _coretpk_parser_is_widget(1191) > (ret == 1) NodeSet is empty. (//*[name() = 'manifest']/*[name()='widget-application'])
01-30 00:30:34.200 : ERROR / rpm-installer ( 31652 : 31652 ) : installer-util.c: _installer_util_get_configuration_value(566) > [signature]=[on]
01-30 00:30:34.521 : ERROR / CERT_SVC ( 31652 : 31652 ) : cert-service-process.c: _verify_certificate_with_caflag(865) > [ERR][_verify_certificate_with_caflag] Fail to search root certificate, /C=KR/ST=Suwon/L=Suwon/O=Tizen Test CA/OU=TTizen Distributor Test CA/CN=Tizen Public Distributor Root CA
01-30 00:30:34.521 : ERROR / CERT_SVC ( 31652 : 31652 ) : cert-service.c: _cert_svc_verify_certificate_with_caflag(123) > [ERR][_cert_svc_verify_certificate_with_caflag] Fail to verify certificate. -34
01-30 00:30:34.521 : ERROR / rpm-installer ( 31652 : 31652 ) : rpm-installer.c: _ri_get_visibility_from_signature_file(1789) > cert_svc_verify_package_certificate() failed.
01-30 00:30:34.521 : ERROR / rpm-installer ( 31652 : 31652 ) : coretpk-installer.c: _coretpk_installer_get_pkgfile_info(1891) > Couldnt get visiblity [0], ret: 117
01-30 00:30:34.521 : ERROR / rpm-installer ( 31652 : 31652 ) : coretpk-installer.c: _coretpk_installer_prepare_package_install(3957) > (pkg_file_info == NULL) _coretpk_installer_get_pkgfile_info(/opt/usr/apps/tmp/org.example.threadtest-1.0.0-arm.tpk) failed.
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.601 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:34.941 : ERROR / ALARM_MANAGER ( 719 : 719 ) : alarm-manager.c: __get_zone_name(506) > zone name [/]
01-30 00:30:34.951 : ERROR / ALARM_MANAGER ( 719 : 719 ) : alarm-manager.c: __rtc_set(237) > [alarm-server]ALARM_CLEAR ioctl is successfully done.
01-30 00:30:34.951 : ERROR / ALARM_MANAGER ( 719 : 719 ) : alarm-manager.c: __rtc_set(244) > Setted RTC Alarm date/time is 29-1-2017, 15:34:04 (UTC).
01-30 00:30:34.951 : ERROR / ALARM_MANAGER ( 719 : 719 ) : alarm-manager.c: __rtc_set(259) > [alarm-server]RTC ALARM_SET ioctl is successfully done.
01-30 00:30:35.141 : ERROR / rpm-installer ( 31652 : 31652 ) : rpm-cmdline.c: _ri_cmdline_process(518) > __ri_process_request: Error
01-30 00:30:35.141 : ERROR / rpm-installer ( 31652 : 31652 ) : rpm-appcore-intf.c: main(260) > ------------------------------------------------
01-30 00:30:35.141 : ERROR / rpm-installer ( 31652 : 31652 ) : rpm-appcore-intf.c: main(261) >  [END] installer: result=[3]
01-30 00:30:35.141 : ERROR / rpm-installer ( 31652 : 31652 ) : rpm-appcore-intf.c: main(262) > ------------------------------------------------
01-30 00:30:35.161 : ERROR / ESD ( 639 : 639 ) : esd_main.c: __esd_pkgmgr_event_callback(1757) > pkg_event(1) falied
01-30 00:30:35.161 : ERROR / PKGMGR_SERVER ( 31648 : 31648 ) : pkgmgr-server.c: __unset_recovery_mode(282) > remove recovery_file[/opt/share/packages/.recovery/pkgmgr/org.example.threadtest-1.0.0-arm.tpk] fail
01-30 00:30:35.161 : ERROR / PKGMGR_SERVER ( 31648 : 31648 ) : pkgmgr-server.c: sighandler(415) > child exit [31652] with error code:3
01-30 00:30:35.161 : ERROR / PKGMGR_INSTALLER ( 31648 : 31648 ) : pkgmgr_installer.c: pkgmgr_installer_receive_request(225) > option is [i]
01-30 00:30:35.191 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.191 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.191 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.201 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.201 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.201 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.201 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.201 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.201 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.201 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.201 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.201 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.261 : ERROR / Tizen::App ( 1252 : 1252 ) : (1537) > pOperation is null.
01-30 00:30:35.261 : ERROR / ESD ( 639 : 639 ) : esd_main.c: __esd_pkgmgr_event_callback(1757) > pkg_event(0) falied
01-30 00:30:35.271 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.271 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.271 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.271 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.271 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.271 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.281 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.281 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.281 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.281 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.281 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:35.281 : ERROR / PKGMGR ( 1654 : 1654 ) : pkgmgr.c: __find_op_cbinfo(312) > tmp is NULL
01-30 00:30:36.643 : ERROR / PKGMGR_SERVER ( 31648 : 31648 ) : pkgmgr-server.c: exit_server(1381) > exit_server Start [backend_status=1, queue_status=1, drm_status=1] 
01-30 00:30:36.643 : ERROR / PKGMGR_SERVER ( 31648 : 31648 ) : pkgmgr-server.c: main(2471) > package manager server terminated.

 

 

Peter Wegner

This is "Running Gag" since years...

Check if device-profile.xml exists.

 

sdb shell

cd /home/developer

 

Look for file:

device-profile.xml

---------------------------

You can also easier use SDB for install and easier get Error message...

sdb install *.wgt

or

sdb install *.tpk

 

Then you will see Error 61... if I am not wrong.

----------------------------------

Your Log file... concentrate on:

[ERR][_cert_svc_verify_certificate_with_caflag] Fail to verify certificate. -34

 

Again, something is wrong with your "Certs"...

Check other Threads about Mac and missing Cert extension blabla....

 

It is funny enough for Windows user.... seems for Mac harder...

 

Best Regards

 

 

Seongwon Cho

Thank you for your answer.

No... I can't find device-profile.xml in my device.

 

So then I tried to install tizen studio in my Windows 10 laptop,

It is not working with same error.

Even I reset my device but it is still not working...

Mark as answer
Peter Wegner

device-profile.xml is additonal step.

Commercial devices have not all mandatory certs installed... this is security cr.p

 

Also additional... to select Cert Extension... in Package Manager of Tizen Studio

 

Its hard to find correct instruction... maybe this... helps you to understand...

http://developer.samsung.com/forum/thread/certification-manager-tizen-studio-1/201/297541?boardName=SDK&startId=zzzzz~

 

I waste too much time to Google or use Search...

No idea why Samsung is not able to create easy instruction...

Found via Google... as you have read so many cra...

https://resources.samsungdevelopers.com/@api/deki/files/1094/Tizen_Studio_Installation_Guide.pdf?revision=1

Sorry, you need some time to find the helpfull instruction... related to Tizen Studio 1.1

 

Search for :

device-profile.xml Tizen

 

I have for instance removed this from Firmware... by adding missing Certs... to bypass this "Adventure"...

Reference devices like RD-PQ, TM1, TM2 not need this pain... only commercial devices are """locked/blocked..."""

 

Best Regards

Seongwon Cho

Thank you so much for your kind help.

Actually I had installed Certs into my device for old tizen IDE.

There was no cert manager at that time and I installed it manually.

But there is Cert manager now and I hoped I can install Cert easily...

My hope may be too big to Tizen.

 

 

 

 

 

Peter Wegner

After long search...

Check this Thread...

https://developer.tizen.org/forums/native-application-development/error-23-certificate-error-while-performing-native-demo-app?langswitch=en

 

Maybe this helps you to create valid device-profile.xml and to enable your SM-Z130H.

 

Best Regards and Good Luck

Seongwon Cho

Resolved.

My problem was I didn't install "Samsung Certificate Extension".

But I hope IDE let us more kindly what is problem and how I can resolve problem.

Thank you.