语言

Menu
Sites
Language
Cannot install application.

Hi All,

I am getting below error while installing app in device (Samsung Z1) from my IDE.

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

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.awagent-1.0.0-arm.tpk
Management: Installation or uninstallation is not working temporarily.

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

I am able to install and launch the same application in Emulator. I have also tried different workspace. Also restarted my laptop.

I am using Windows 7 (64bit)

Device: Samsung Z1

IDE & SDK: 64-bit

Please help if anyone know about the issue.

Thank you.

查看选择的答案

响应

12 回复
Alex Ashirov

Hi,

Have you enabled Developer mode on your Z1 device?

http://www.tizenexperts.com/2015/01/developer-enable-developer-usb-debugging-mode-tizen-samsung-z1-sm-z130hds/

Julian Rayner

I Have the same issue,

 

There needs to be a straight forward document/tutorial if developers are to adopt Tizen.

Initially tried to "select" a my Z1 device in Connection explorer as explained in other forums...  But this simply failed to find a device when I hit debug.

Then tracked this down to it was obviously selecting my emulator (which wasn't running), doh...

came across this

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.gettingstarted/html/dev_env/smart_launch.htm

 

And like you after creating a new configuration (although it didn't allow me to select target device, seemed to just assume it was the Z1 attached to my PC)

I get

 

Launching the Tizen application...
# If you want to see the detailed information,
# please set the logging level to DEBUG in Preferences and check the log file in 'C:\tizen-sdk-data\ide\logs/ide-20150217_123112.log'.

[Deploying the package...]
    RDS: On
[Creating the package...]
    Created the package: C:\Jarvis\Tizen\Jarvis\jarvistest1\Debug\org.tizen.jarvistest1-1.0.0-arm.tpk
[Transferring the package...]
    Transferred the package: C:\Jarvis\Tizen\Jarvis\jarvistest1\Debug\org.tizen.jarvistest1-1.0.0-arm.tpk -> /opt/usr/apps/tmp
[Installing the package...]
    Uninstalling the package...
path is /opt/usr/apps/tmp/org.tizen.jarvistest1-1.0.0-arm.tpk
start process (install)
.
error : 0

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

 

 

 

and a popup message of

 

 

"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.jarvistest1-1.0.0-arm.tpk
Management: Installation or uninstallation is not working temporarily."

 

daniel kim

Hi,

Have you installed the extentsion SDK for Z1? you need this SDK to run your application on the Z1.

http://developer.samsung.com/technical-doc/view.do?v=T000000198

I wish this will help you.

Julian Rayner

Thanks Daniel,

I also came across the same explanation here for certs requirement

https://developer.tizen.org/forums/native-application-development/problems-installing-tpk-on-samsung-z1

currently waiting for the 1.5G download (assuming its redownloading 2.3SDK again), guessing I needed to deselect this in "install Manager" AND add the certificate extension...

Hoping it doesn't screw up my already working emulator and IDE when done...

 

It will be great when a few people have written tutorials/blogs on Tizen and Z1 development

 

Would also be cool if extra tools/extensions/updates were loaded from inside of eclipse (much the same way Android, Eclipse works)

 

Thanks again Daniel,

Your response was super fast

 

I'll let you know how I get on

 

 

Park Hyeon Ju

Hi Julian,

It has been much time, but

If you are finding a tutorial for setup Z1 for using in the Tizen IDE, I can share an information.

Search for "How to use samsung z1 for tizen development" on the slideshare site.

This page is not allowed to share the URL, so I cannot do that, sorry.

 

regards,

Hyeonju Park

Julian Rayner

Now stuck in an endless, the download file is invalid would you like to retry (Install Manager)

(5 gig so far...)

And have lost my previous Tizen installation

Bugger...

Julian Rayner

Switched to a different laptop in the end

Using instructions in the IDE on certs, everything went fine... Thanks again Daniel

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

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

Mark as answer
Kunal Swami

Hi. After struggling a lot I found the mistake.

I was continuously getting the following error whenever I tried to run application on Z1 device:

"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.jarvistest1-1.0.0-arm.tpk
Management: Installation or uninstallation is not working temporarily."

 

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

 

Read Help->Help Contents->Certificates CAREFULLY:

  1. Enter the device-profile.xml file path.
  2. Enter the distributor password. This is the password you received from Samsung with your device-profile.xml.

 

It took me 2 days to resolve this error, can't express the divine feeling now! :)

Regards,

Kunal

 

Neenray Khairkar

Hi Kunal,

I tried you solution but it doesn't works for me.

I have Tizen Z1 2.3 device and SDK 2.3.

I added the security profile with author and distributor certificate.

Still I get the same error. Do you have any idea what is going on?

daniel kim

Hi,

You can find "Register certificate" button on the IDE to register your certificate file.

Have you used this menu to add your certificate?  and I suggest you to check that your security profile is activated.

Regards,

Park Hyeon Ju

Hi

Did you permit to install application on the Z1 after setting a certificate?

Before you run the project, try to click right button on the connected device and select "permit to install application" 

I had same problem but I solved by doing this.

 

Palitsyna

Hello,

just FYI, here you can find some information and recommendations about the most widespread errors: https://developer.tizen.org/trouble-shooting-certification

Also, I would suggest you to check which profile is activated now in below menu of you IDE.
    Window --> Preferences --> Tizen SDK --> Security Profiles  
Then clean all projects and build workspace. (Project -> Clean -> "Clean All Projects" and "Build Entire workspace").