语言

Menu
Sites
Language
Visual Studio Debugger Problems

Hi,

I've been trying to deploy my App to my Samsung Active 2 device, but visual studio just won't deploy it, or debug it.

I think the relevant error is 'processing result : Operation not allowed [-4] failed'

Which I think has something to do with sigining - however I have created the samsung 'test' certificate, and it still won't deploy.

It runs/debugs on the emulator fine.

I installed Tizen Studio, complied a sample app and signed it with the same certificate; and it deployed fine to my device from Tizen Studio.

 

When I try to deploy from Visual Studio I just get stuck at:

'Initializing Debugger' 

And the Output is:

03/07/2020 20:58:52 : Start Device Monitor...
03/07/2020 20:58:59 : Device monitor started.
03/07/2020 21:02:54 : Device attach/detach detected.
03/07/2020 21:03:08 : <<< Start debugging "org.tizen.RipCo.Plexi" >>>
03/07/2020 21:03:08 : Try to terminate running application: org.tizen.RipCo.Plexi
03/07/2020 21:03:08 : No application to be terminated: 255
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed org.tizen.RipCo.Plexi-1.0.0.tpk   0%       0KB     0KB/s
pushed org.tizen.RipCo.Plexi-1.0.0.tpk 92%     832KB     0KB/s
pushed org.tizen.RipCo.Plexi-1.0.0.tpk 100%     898KB     0KB/s
1 file(s) pushed. 0 file(s) skipped.
E:\Work\Tizen\Plexi\Plexi\bin\Debug\tizen50\org.tizen.RipCo.Plexi-1.0.0.tpk   1306KB/s (919893 bytes in 0.687s)
path is /home/owner/share/tmp/sdk_tools/org.tizen.RipCo.Plexi-1.0.0.tpk
processing result : Operation not allowed [-4] failed
Package found on the target system: "lldb-3.8.1-armv7l" (tar.gz)
03/07/2020 21:03:12 : Launching org.tizen.RipCo.Plexi
03/07/2020 21:03:13 : ... launch failed
 
 
Has anyone seen this, or know how to resolve ?
 
Thanks,
Richard.
查看选择的答案

响应

2 回复
Mark as answer
Tizen .NET

Hi,

You need to use Tizen 4.0 app template to target your Samsung Active 2 because it's based on Tizen 4.0 platform.

Please try again.

Thanks.


 

Richard Palmer

Hi,

Thanks for the suggestion , I setup as Tizen4.0 template and the app installed an ran on the watch. (Active 2)

The next issue I have, is the simple app function works in the emulator, but no on the device.

It makes a simple HTTP request ; this runs on the emulator but not the device.

I have the internet privilege set, but still not working on the device. 

When running on the device, the app does not ask or confirm that the privilege should be accepted ; should it ?

 

Thanks,

Richard