언어 설정

Menu
Sites
Language
Problems in installing tpk on Samsung Z1

Hi,

I have Tizen 2.2.1 SDK installed and running in my Windows 7 system. So far, I had been testing using the emulator.

Now I got access to the new Samsung Z1 device and want to install and test few basic apps.

This device runs 2.3 SDK.

Should I neccesarily upgrade my SDK to 2.3 even for the basic HelloWorld applications to work??

Because when I build a .tpk in Active Release mode and installed it on the device, (Copied the tpk to File Mgr and installed from device),

I keep getting error messages like "Installation failed! Unable to find application to perform this action"

Could you please help me with some clues on this.

Thanks,

Sathya Priya R

 

 

 

Responses

27 댓글
John Ixion

Hi Sathya,

The SDK should be updated to 2.3, indeed

John Ixion

more info about 2.3 https://developer.tizen.org/documentation/mobile-native-app-programming

tutorials https://wiki.tizen.org/wiki/EFL_Tutorials

Sathya Priya R

Thank you!

Daniel Juyung Seo

Yes you need to update SDK to 2.3. Latest version is Tizen 2.3 Rev1 SDK.

https://developer.tizen.org/downloads/tizen-sdk#2.3

 

And you also have to install "Tizen Extension SDK for Certificate".

http://developer.samsung.com/samsung-z

 

Then get the Tizen certificate and device profile for your Z1 phone.

Tizen IDE -> Help -> Help Contents -> Certificate

 

Be careful that

1. device time should be identical to the current time.

2. DUID of your test device should be included in device-profile.xml. (described in help contents "certificate" section.)

Sathya Priya R

Thank you for the good explanation.

I followed the steps and created the required Certificates.

Using these certificates, I created a Native application package.

But it always failed and didnt install. The error is

Cannot install application.

Error code: FATAL_ERROR
Error message: Success
Command: /usr/bin/pkgcmd -q -i -t tpk -p /opt/usr/apps/tmp/org.tizen.testnativeapp-1.0.0-arm.tpk
Management: Installation or uninstallation is not working temporarily.

But using the same certificates, I built a basic HelloWorld  Web application and it installed fine on the same device.

What is the problem with Native application alone?

I see the same problem of Native app installation failing, been posted in few other topics but no solution anywhere.

Kindly help me with this.

Thanks

 

 

 

Sathya Priya R

Hi,

I got it working.

Had to check if the certificates used correct DUID value.

Thanks!

Dharmesh Guna

Hi Sathya,

I am also having the simillar issue like you faced.

Where to specify DUID?

Where can I find device-profile.xml file?

I am using SIM less Samsung Z1. Will it work?

Dharmesh Guna

Okay. Got it. Solved.

rakibdana

Hello All

I am facing same problem. Build completed successfully but ide fails to install tpk. I have tried both with rds on and off.

Error pop up showing :

Cannot install application.

Error code: FATAL_ERROR
Error message: Success
Command: /usr/bin/pkgcmd -q -i -t tpk -p /opt/usr/apps/tmp/org.tizen.icloudmigrationdummy-1.0.0-arm.tpk
Management: Installation or uninstallation is not working temporarily.

In console log screen :

start process (install)
..
error : 0

end process (fail)
processing result : FATAL_ERROR [61] failed
spend time for pkgcmd is [6535]ms
cmd_ret:61
(14.653 sec)

I am using Samsung Z1 and sdk 2.3.

How to check certificate uses correct DUID value?

Where can I find device-profile.xml file?

 

 

 

Alex Ashirov

Hi,

It seems that you need to install Extension SDK for certificate if it hasn't installed yet:

http://img-developer.samsung.com/contents/cmm/tizen2.3-certificate-extension.zip

 and then request device-profile.xml for your device.

rakibdana

Thank you Alex

Alex Dem

Hi,
After installation of Extension SDK additional section will be appeared in Tizen- IDE->Help->Help Contents-> Certificates with instruction.
You should request author certificate before,
Onto second step (Request device-profile):
you should fill these fields
1) Privilege level (public, partner , platform), 
2) Developer type (individual, company)
3) Device ID (Upto 10 Device IDs can be added). You should enter them there

Alexey.

harish kumar kavali

Dear Alex dem,

        where can i find device id is duid??
       i had given duid but it is not working
Regards
Harish K 

Marco Buettner

right click on the device in the connection manager of the SDK

rakibdana

Thank you Alex Dem. I have installed extension certificate successfully after installing a fresh sdk.

Then I added author.crt and device profile with correct DUID

But it did not solve tpk installation problem in Z1. :(

Later I found that removing below privilege from manifest solved my issue -

<privilege>http://tizen.org/privilege/filesystem.write</privilege>

Sometimes this privilege causes problem when installing tpk in Z1.

harish kumar kavali

Thank you all,

i had solved my problem by 

right clicking the device in the ide and selecting "permit to install applications" option

now i am able to launch my apps on tizen z1
 

Maxim Leybovich

Hello.

I make certificate, device_profile, as described in help. Double check device id, made permition on phone.

But it did not helps - I still have got error message when lauch simple application on Z1 device:

[Installing the package...]

    Uninstalling the package...
path is /opt/usr/apps/tmp/org.tizen.test3-1.0.0-arm.tpk
start process (install)
.
error : 0

end process (fail)
processing result : FATAL_ERROR [61] failed
spend time for pkgcmd is [3183]ms
cmd_ret:61

 

How i can solve this problem?

 

daniel kim

Hi,

Wrong password of certficate can cause this error.

I suggest you to check your password of author certificate and password(you got it from Samsung Developer Site via email) of Device-profile.xml.

I wish this will help you.

Łukasz Grabiec

I still have the same, I try to install native example on RD-PQ with Tizen 2.3

I have correct cerifitcate, password, DUID, checked on two computers under Windows 8.1 and Ubuntu and still:

FATAL_ERROR [61] failed

I give up...

 

Maxim Leybovich

Same here. I gave up too.

Tizen have "great" support!

daniel kim

Hi,

I found below comment of other person who already experienced same Fatal error.

   : I was missing this thing: When you get the device-profile.xml file from Samsung, read the email completely, it also contains a password. You need this password for device-profile.xml instead of your own created author password (which is used in case of authr.crt).

https://developer.tizen.org/forums/native-application-development/cannot-install-application.

 

I wish this will help you.

Maxim Leybovich

Thank you for answers.

I use password from Samsung message.

It not wokrs.

Here is my way screenshots: 

https://www.dropbox.com/s/l4ne3r0nf0h9qrb/TizenScreenshots.zip?dl=0

daniel kim

Hi,

Could you tell me which sample you've tried?

Regards,

 

Maxim Leybovich

I created new sample project.

I make screenshot of each step:

https://www.dropbox.com/s/l4ne3r0nf0h9qrb/TizenScreenshots.zip?dl=0

Any idea where I was wrong?

 

daniel kim

Hi,

I could make same error message while installing native sample after I remove device-profile.xml which is under /home/developer of device.

So you need right-click your device in connection explorer and select "permit to all applications" menu inside to transfer device-profile.xml into device.

[Installing the package...]
    Uninstalling the package...
path is /opt/usr/apps/tmp/org.tizen.basicuiedc-1.0.0-arm.tpk
start process (install)
.
error : 0

end process (fail)
processing result : FATAL_ERROR [61] failed
spend time for pkgcmd is [3348]ms
cmd_ret:61
(10.31 sec)

 

I wish this will help you.

Maxim Leybovich

Hello.

I removed device-profile.xml from /home/developer folder of phone and pressed "Permit to install applications".

It helped me.

Thank you very much!

 

John Ixion

https://developer.tizen.org/documentation/articles/trouble-shooting-certification

see native case #2