Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tizen/tizenwatch] Cannot install app (certain devices only) #1268

Closed
mihaiblaga89 opened this issue Nov 30, 2023 · 9 comments
Closed

[tizen/tizenwatch] Cannot install app (certain devices only) #1268

mihaiblaga89 opened this issue Nov 30, 2023 · 9 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@mihaiblaga89
Copy link
Contributor

Describe the bug
Cannot install app on actual device, tizen cli error

install failed[118, -19], reason: Parsing error

To Reproduce

  1. template-preview
  2. npx rnv run -p tizen -s release -d -t IP

Tried

  • deleted tizen cert from home folder and let RNV generate a new one
  • updated currently installed tizen packages (including cert manager) and then repeating point 1
@mihaiblaga89 mihaiblaga89 added the bug Something isn't working label Nov 30, 2023
@mihaiblaga89 mihaiblaga89 self-assigned this Nov 30, 2023
@pauliusguzas
Copy link
Collaborator

pauliusguzas commented Dec 1, 2023

Latest release/1.0 branch
Tried 4 TV's both release and debug scheme
3 TV's had

✖ FAILED: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.25
[ error ] [run] COMMAND:

/Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.25

FAILED with ERROR:

Error: 192.168.1.25 does not match any VM

Command failed with exit code 2: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.25
Error: 192.168.1.25 does not match any VM

Error: Command failed with exit code 2: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.25
Error: 192.168.1.25 does not match any VM
    at makeError (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

error on both release and debug schemes
1 TV worked on debug scheme and had this error on release scheme

--------------------
Platform log view
--------------------
install NkVRhWHJST.RNVanillaTV
package_path /opt/usr/apps/tmp/RNVanillaTV.wgt
was_install_app return WAS_TRUE
app_id[NkVRhWHJST.RNVanillaTV] install start
app_id[NkVRhWHJST.RNVanillaTV] install failed[118]
spend time for wascmd is [5566]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:08.682
    at makeError (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


│ [ warn ] [run] There is no emulator or device connected! Let's try to launch it. "rnv target launch -p tizen -t 192.168.1.28"
│                                                                              │
│  Project location:                                                           │
│  ./platformBuilds/template_tizen                                             │
└──────────────────────────────────────────────────────────────────────────────┘
pauliusguzas@MBP-de-Flexn template-starter %

NOTE: got same parsing error when running release scheme on simulator

@ElenaDiachenko ElenaDiachenko self-assigned this Dec 5, 2023
@pauliusguzas
Copy link
Collaborator

pauliusguzas commented Dec 15, 2023

1.0.0-rc.3 M1 mac npx rnv run -p tizen -t <ip>
3 TV's got

Error: Command failed with exit code 1: /Users/reactsealsdev/tizen-studio/tools/ide/bin/tizen install -- /Users/reactsealsdev/Desktop/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t UE43NU7192
Transferring the package...
Transferred the package: /Users/reactsealsdev/Desktop/renative/packages/template-starter/platformBuilds/template_tizen/output/RNVanillaTV.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install NkVRhWHJST.RNVanillaTV
package_path /home/owner/share/tmp/sdk_tools/tmp/RNVanillaTV.wgt
app_id[NkVRhWHJST.RNVanillaTV] install start
was_install_app return WAS_TRUE
app_id[NkVRhWHJST.RNVanillaTV] installing[7]
app_id[NkVRhWHJST.RNVanillaTV] installing[9]
app_id[NkVRhWHJST.RNVanillaTV] installing[11]
app_id[NkVRhWHJST.RNVanillaTV] installing[14]
app_id[NkVRhWHJST.RNVanillaTV] installing[16]
app_id[NkVRhWHJST.RNVanillaTV] install failed[118012]
spend time for wascmd is [1812]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:02.654
    at makeError (/Users/reactsealsdev/Desktop/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/reactsealsdev/Desktop/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


[ warn ] [run] There is no emulator or device connected! Let's try to launch it. "rnv target launch -p tizen -t 192.168.1.25"
[ task ] [run] launchTizenSimulator:192.168.1.25[1]
[ error ] [run] Location of your cli /Users/reactsealsdev/tizen-studio/tools/emulator/bin/em-cli does not exists. check your /Users/reactsealsdev/.rnv/renative.json file if your sdks paths are correct

1 TV got

Error: Command failed with exit code 1: /Users/reactsealsdev/tizen-studio/tools/ide/bin/tizen install -- /Users/reactsealsdev/Desktop/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t UE32T4302AKXXH
Transferring the package...
Transferred the package: /Users/reactsealsdev/Desktop/renative/packages/template-starter/platformBuilds/template_tizen/output/RNVanillaTV.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install NkVRhWHJST.RNVanillaTV
package_path /home/owner/share/tmp/sdk_tools/tmp/RNVanillaTV.wgt
app_id[NkVRhWHJST.RNVanillaTV] install start
app_id[NkVRhWHJST.RNVanillaTV] installing[10]
app_id[NkVRhWHJST.RNVanillaTV] installing[13]
app_id[NkVRhWHJST.RNVanillaTV] installing[15]
app_id[NkVRhWHJST.RNVanillaTV] installing[18]
app_id[NkVRhWHJST.RNVanillaTV] installing[21]
app_id[NkVRhWHJST.RNVanillaTV] installing[23]
app_id[NkVRhWHJST.RNVanillaTV] installing[26]
app_id[NkVRhWHJST.RNVanillaTV] install failed[118, -12], reason: Check certificate error : :Invalid file reference. An unsinged file was found.:<-5>
spend time for wascmd is [1451]ms
Failed to install Tizen application.
Total time: 00:00:03.335
    at makeError (/Users/reactsealsdev/Desktop/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/reactsealsdev/Desktop/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

also got this error because emulator manager is not installed, but I don't think this matters

[ error ] [run] Location of your cli /Users/reactsealsdev/tizen-studio/tools/emulator/bin/em-cli does not exists. check your /Users/reactsealsdev/.rnv/renative.json file if your sdks paths are correct

@pauliusguzas
Copy link
Collaborator

pauliusguzas commented Dec 15, 2023

1.0.0-rc.3 Intel mac npx rnv run -p tizen -t <ip>
2 TV's worked
2 TV's got below, sdb devices show device

✖ FAILED: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.25
[ error ] [run] COMMAND:

/Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.25

FAILED with ERROR:

Error: 192.168.1.25 does not match any VM

Command failed with exit code 2: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.25
Error: 192.168.1.25 does not match any VM

Error: Command failed with exit code 2: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.25
Error: 192.168.1.25 does not match any VM
    at makeError (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)



@ELOUFIR
Copy link

ELOUFIR commented Dec 25, 2023

Hi @mihaiblaga89 , @pauliusguzas
Please if you found how to resolve the error below, share with us:
install failed[118, -19], reason: Parsing error

3 weeks trying to fix it without success :(
Thanks

@mihaiblaga89 mihaiblaga89 changed the title [tizen] Cannot install app on TV [tizen] Cannot install app Jan 15, 2024
@pauliusguzas
Copy link
Collaborator

1.0.0-rc.3 macOS and Windows
Certificate is generated but still getting same error on CLI ->

✔ Executing: /Users/gabriele/tizen-studio/tools/ide/bin/tizen uninstall -p NkVRhWHJST.RNVanillaTV -t T-samsung-7.0-x86
✖ FAILED: /Users/gabriele/tizen-studio/tools/ide/bin/tizen install -- /Users/gabriele/Desktop/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t T-samsung-7.0-x86
[ error ] [run] COMMAND:

/Users/gabriele/tizen-studio/tools/ide/bin/tizen install -- /Users/gabriele/Desktop/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t T-samsung-7.0-x86

FAILED with ERROR:

app_id[NkVRhWHJST.RNVanillaTV] install failed[118, -12], reason: Check certificate error : :Invalid certificate chain with certificate in signature.:<-3>
spend time for wascmd is [535]ms
Failed to install Tizen application.
Total time: 00:00:01.323

Command failed with exit code 1: /Users/gabriele/tizen-studio/tools/ide/bin/tizen install -- /Users/gabriele/Desktop/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t T-samsung-7.0-x86
Transferring the package...
Transferred the package: /Users/gabriele/Desktop/renative/packages/template-starter/platformBuilds/template_tizen/output/RNVanillaTV.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install NkVRhWHJST.RNVanillaTV
package_path /home/owner/share/tmp/sdk_tools/tmp/RNVanillaTV.wgt
app_id[NkVRhWHJST.RNVanillaTV] install start
app_id[NkVRhWHJST.RNVanillaTV] installing[2]
app_id[NkVRhWHJST.RNVanillaTV] installing[5]
app_id[NkVRhWHJST.RNVanillaTV] installing[7]
app_id[NkVRhWHJST.RNVanillaTV] installing[10]
app_id[NkVRhWHJST.RNVanillaTV] installing[13]
app_id[NkVRhWHJST.RNVanillaTV] installing[15]
app_id[NkVRhWHJST.RNVanillaTV] installing[18]
app_id[NkVRhWHJST.RNVanillaTV] installing[21]
app_id[NkVRhWHJST.RNVanillaTV] installing[23]
app_id[NkVRhWHJST.RNVanillaTV] install failed[118, -12], reason: Check certificate error : :Invalid certificate chain with certificate in signature.:<-3>
spend time for wascmd is [535]ms
Failed to install Tizen application.
Total time: 00:00:01.323

Error: Command failed with exit code 1: /Users/gabriele/tizen-studio/tools/ide/bin/tizen install -- /Users/gabriele/Desktop/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t T-samsung-7.0-x86
Transferring the package...
Transferred the package: /Users/gabriele/Desktop/renative/packages/template-starter/platformBuilds/template_tizen/output/RNVanillaTV.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install NkVRhWHJST.RNVanillaTV
package_path /home/owner/share/tmp/sdk_tools/tmp/RNVanillaTV.wgt
app_id[NkVRhWHJST.RNVanillaTV] install start
app_id[NkVRhWHJST.RNVanillaTV] installing[2]
app_id[NkVRhWHJST.RNVanillaTV] installing[5]
app_id[NkVRhWHJST.RNVanillaTV] installing[7]
app_id[NkVRhWHJST.RNVanillaTV] installing[10]
app_id[NkVRhWHJST.RNVanillaTV] installing[13]
app_id[NkVRhWHJST.RNVanillaTV] installing[15]
app_id[NkVRhWHJST.RNVanillaTV] installing[18]
app_id[NkVRhWHJST.RNVanillaTV] installing[21]
app_id[NkVRhWHJST.RNVanillaTV] installing[23]
app_id[NkVRhWHJST.RNVanillaTV] install failed[118, -12], reason: Check certificate error : :Invalid certificate chain with certificate in signature.:<-3>
spend time for wascmd is [535]ms
Failed to install Tizen application.
Total time: 00:00:01.323
    at makeError (/Users/gabriele/Desktop/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/gabriele/Desktop/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


[ warn ] [run] There is no emulator or device connected! Let's try to launch it. "rnv target launch -p tizen -t T-samsung-7.0-x86"
[ task ] [run] launchTizenSimulator:T-samsung-7.0-x86[2]
✖ FAILED: /Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name T-samsung-7.0-x86
[ error ] [run] COMMAND:

/Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name T-samsung-7.0-x86

FAILED with ERROR:

Error: Failed to start this VM.
[T-samsung-7.0-x86] is running now...

Command failed with exit code 2: /Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name T-samsung-7.0-x86
Error: Failed to start this VM.
[T-samsung-7.0-x86] is running now...

Error: Command failed with exit code 2: /Users/gabriele/tizen-studio/tools/emulator/bin/em-cli launch --name T-samsung-7.0-x86
Error: Failed to start this VM.
[T-samsung-7.0-x86] is running now...
    at makeError (/Users/gabriele/Desktop/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/gabriele/Desktop/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

@pauliusguzas
Copy link
Collaborator

Windows and Arm macOS OS 1.0.0-rc.3 npx rnv run -p tizenwatch -t ip sdb devices do show watch as connected successfully

√ Executing: C:\tizen-studio\tools\ide\bin\tizen.bat uninstall -p cHIP2fIRQZ -t SM-R500
× FAILED: C:\tizen-studio\tools\ide\bin\tizen.bat install -- C:\Users\dev\Desktop\renative\packages\template-starter\platformBuilds\template_tizenwatch\output -n RNVanillaWatch.wgt -t SM-R500
[ error ] [run] COMMAND:

C:\tizen-studio\tools\ide\bin\tizen.bat install -- C:\Users\dev\Desktop\renative\packages\template-starter\platformBuilds\template_tizenwatch\output -n RNVanillaWatch.wgt -t SM-R500

FAILED with ERROR:

__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[error] val[-12] error message: :Non trusted certificate is used. Register valid certificate:<-32>
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[end] val[fail]
processing result : Check certificate error [-12] failed
spend time for pkgcmd is [1192]ms

Failed to install Tizen application.
Total time: 00:00:03.908

Command failed with exit code 1: C:\tizen-studio\tools\ide\bin\tizen.bat install -- C:\Users\dev\Desktop\renative\packages\template-starter\platformBuilds\template_tizenwatch\output -n RNVanillaWatch.wgt -t SM-R500
path is /home/owner/share/tmp/sdk_tools/tmp/RNVanillaWatch.wgt
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[start] val[install]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[10]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[13]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[16]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[18]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[21]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[24]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[error] val[-12] error message: :Non trusted certificate is used. Register valid certificate:<-32>
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[end] val[fail]
processing result : Check certificate error [-12] failed
spend time for pkgcmd is [1192]ms

Failed to install Tizen application.
Total time: 00:00:03.908

Error: Command failed with exit code 1: C:\tizen-studio\tools\ide\bin\tizen.bat install -- C:\Users\dev\Desktop\renative\packages\template-starter\platformBuilds\template_tizenwatch\output -n RNVanillaWatch.wgt -t SM-R500
path is /home/owner/share/tmp/sdk_tools/tmp/RNVanillaWatch.wgt
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[start] val[install]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[10]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[13]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[16]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[18]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[21]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[24]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[error] val[-12] error message: :Non trusted certificate is used. Register valid certificate:<-32>
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[end] val[fail]
processing result : Check certificate error [-12] failed
spend time for pkgcmd is [1192]ms

Failed to install Tizen application.
Total time: 00:00:03.908
    at makeError (C:\Users\dev\Desktop\renative\node_modules\execa\lib\error.js:60:11)
    at handlePromise (C:\Users\dev\Desktop\renative\node_modules\execa\index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


[ warn ] [run] There is no emulator or device connected! Let's try to launch it. "rnv target launch -p tizenwatch -t 192.168.1.31"
[ task ] [run] launchTizenSimulator:192.168.1.31[1]
× FAILED: C:\tizen-studio\tools\emulator\bin\em-cli.bat launch --name 192.168.1.31
[ error ] [run] COMMAND:

C:\tizen-studio\tools\emulator\bin\em-cli.bat launch --name 192.168.1.31

FAILED with ERROR:

Command failed with exit code 2: C:\tizen-studio\tools\emulator\bin\em-cli.bat launch --name 192.168.1.31

Error: Command failed with exit code 2: C:\tizen-studio\tools\emulator\bin\em-cli.bat launch --name 192.168.1.31
    at makeError (C:\Users\dev\Desktop\renative\node_modules\execa\lib\error.js:60:11)
    at handlePromise (C:\Users\dev\Desktop\renative\node_modules\execa\index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Intel macOS getting below, sdb devices show watch

✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen uninstall -p cHIP2fIRQZ -t SM-R500
✖ FAILED: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizenwatch/output -n RNVanillaWatch.wgt -t SM-R500
[ error ] [run] COMMAND:

/Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizenwatch/output -n RNVanillaWatch.wgt -t SM-R500

FAILED with ERROR:

__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[error] val[-12] error message: :Non trusted certificate is used. Register valid certificate:<-32>
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[end] val[fail]
processing result : Check certificate error [-12] failed
spend time for pkgcmd is [1160]ms
Failed to install Tizen application.
Total time: 00:00:03.389

Command failed with exit code 1: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizenwatch/output -n RNVanillaWatch.wgt -t SM-R500
path is /home/owner/share/tmp/sdk_tools/tmp/RNVanillaWatch.wgt
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[start] val[install]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[10]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[13]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[16]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[18]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[21]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[24]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[error] val[-12] error message: :Non trusted certificate is used. Register valid certificate:<-32>
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[end] val[fail]
processing result : Check certificate error [-12] failed
spend time for pkgcmd is [1160]ms

Failed to install Tizen application.
Total time: 00:00:03.389

Error: Command failed with exit code 1: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizenwatch/output -n RNVanillaWatch.wgt -t SM-R500
path is /home/owner/share/tmp/sdk_tools/tmp/RNVanillaWatch.wgt
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[start] val[install]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[10]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[13]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[16]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[18]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[21]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[install_percent] val[24]
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[error] val[-12] error message: :Non trusted certificate is used. Register valid certificate:<-32>
__return_cb req_id[1] pkg_type[wgt] pkgid[cHIP2fIRQZ] key[end] val[fail]
processing result : Check certificate error [-12] failed
spend time for pkgcmd is [1160]ms

Failed to install Tizen application.
Total time: 00:00:03.389
    at makeError (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)


[ warn ] [run] There is no emulator or device connected! Let's try to launch it. "rnv target launch -p tizenwatch -t 192.168.1.31"
[ task ] [run] launchTizenSimulator:192.168.1.31[1]
✖ FAILED: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.31
[ error ] [run] COMMAND:

/Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.31

FAILED with ERROR:

Error: 192.168.1.31 does not match any VM

Command failed with exit code 2: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.31
Error: 192.168.1.31 does not match any VM

Error: Command failed with exit code 2: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.31
Error: 192.168.1.31 does not match any VM
    at makeError (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

@pavjacko pavjacko added this to the 1.0 milestone Feb 13, 2024
@pavjacko pavjacko changed the title [tizen] Cannot install app [tizen] Cannot install app (devices only) Feb 26, 2024
@pauliusguzas
Copy link
Collaborator

pauliusguzas commented Feb 28, 2024

1.0.0-rc.10 template-starter
TV11 Samsung tizen UE32M6622AK, os version 1400

pauliusguzas@MBP-de-Flexn template-starter % npx rnv run -p tizen -t 192.168.1.204
┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│        ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗       │
│        ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝       │
│        ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗         │
│        ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝         │
│        ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗       │
│        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝       │
│                                                                              │
│        Version: 1.0.0-rc.10                                                  │
│        https://renative.org                                                  │
│        🚀 Firing up!...                                                      │
│        $ npx rnv run -p tizen -t 192.168.1.204                               │
│        Start Time: 2/27/2024, 9:32:47 PM                                     │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
[ task ] registerEngine:engine-core[1]
[ task ] configureRuntimeDefaults[1] appId:undefined
[ task ] checkAndMigrateProject[1]
[ task ] loadPluginTemplates[1]
[ task ] parseRenativeConfigs[1]
[ task ] getWorkspaceDirPath[1]
[ task ] generatePlatformTemplatePaths[1]
[ task ] checkAndBootstrapIfRequired[1]
[ task ] loadIntegrations[1]
[ task ] loadEngines[1]
[ task ] loadEnginePluginDeps[1]
[ task ] loadEnginePackageDeps[1]
[ task ] registerEngine:engine-rn-web[1]
[ task ] findSuitableTask[1]
[ info ] Current Engine: engine-rn-web path: /Users/pauliusguzas/Desktop/renative/renative/packages/engine-rn-web
[ task ] registerMissingPlatformEngines[1]
[ task ] initializeTask[1] run
[ task ] => [run]
[ task ] [run] checkIfProjectAndNodeModulesExists[1]
[ hook ] [run] executePipe ('run:before')
[ task ] [run] taskRnvRun[1] parent:undefined port:NaN target:192.168.1.204 hosted:undefined
[ task ] => [run] => [configure]
[ hook ] [configure] executePipe ('configure:before')
[ task ] [configure] taskRnvConfigure[1]
[ task ] => [configure] => [platform configure]
[ hook ] [platform configure] executePipe ('platform:configure:before')
[ task ] [platform configure] taskRnvPlatformConfigure[1]
[ task ] => [platform configure] => [project configure]
[ hook ] [project configure] executePipe ('project:configure:before')
[ task ] [project configure] taskRnvProjectConfigure[1]
[ task ] [project configure] checkAndMigrateProject[2]
[ task ] [project configure] loadPluginTemplates[2]
[ task ] [project configure] parseRenativeConfigs[2]
[ task ] [project configure] getWorkspaceDirPath[2]
[ task ] [project configure] generatePlatformTemplatePaths[2]
[ task ] => [project configure] => [workspace configure]
[ task ] [workspace configure] taskRnvWorkspaceConfigure[1]
[ task ] <= [project configure] <= workspace configure
[ task ] [project configure] checkIfTemplateConfigured[1]
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[1] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] [project configure] checkCrypto[1]
[ task ] [project configure] configureRuntimeDefaults[2] appId:template
[ task ] [project configure] applyTemplate[1] @rnv/template-starter=>undefined
[ task ] [project configure] configureRuntimeDefaults[3] appId:template
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[2] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] => [project configure] => [app configure]
[ hook ] [app configure] executePipe ('app:configure:before')
[ task ] [app configure] taskRnvAppConfigure[1]
[ task ] [app configure] listAppConfigsFoldersSync[1] ignoreHiddenConfigs:true
[ task ] [app configure] loadPluginTemplates[3]
[ task ] [app configure] parseRenativeConfigs[3]
[ task ] [app configure] generateBuildConfig[1] size:195.34 KB
[ task ] [app configure] getWorkspaceDirPath[3]
[ task ] [app configure] generateBuildConfig[2] size:195.34 KB
[ task ] [app configure] generateBuildConfig[3] size:195.34 KB
[ task ] [app configure] generateBuildConfig[4] size:195.34 KB
[ task ] [app configure] generatePlatformTemplatePaths[3]
[ task ] [app configure] generateBuildConfig[5] size:208.87 KB
[ task ] [app configure] generateBuildConfig[6] size:208.87 KB
[ task ] [app configure] getWorkspaceDirPath[4]
[ task ] [app configure] generateBuildConfig[7] size:208.87 KB
[ task ] [app configure] generateLocalConfig[1] resetAppId:false
[ task ] [app configure] generateBuildConfig[8] size:208.87 KB
[ info ] [app configure] Current App Config: template
[ hook ] [app configure] executePipe ('app:configure:after')
[ task ] <= [project configure] <= app configure
[ task ] [project configure] versionCheck[1]
[ task ] [project configure] versionCheck:rnvRunner:1.0.0-rc.10,rnvProject:1.0.0-rc.10[1]
[ task ] [project configure] configureEngines[1]
[ task ] [project configure] resolvePluginDependants[1]
[ task ] [project configure] configurePlugins[1]
[ task ] [project configure] configureRuntimeDefaults[4] appId:template
[ task ] [project configure] copyRuntimeAssets[1]
[ task ] [project configure] configureTemplateFiles[1]
[ task ] [project configure] checkAndCreateGitignore[1]
[ task ] [project configure] generateRuntimeConfig[1]
[ task ] [project configure] overrideTemplatePlugins[1]
[ task ] [project configure] parsePlugins[1]
[ info ] [project configure] /react-native-gesture-handler/ios/Handlers/RNHoverHandler.m overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json
[ info ] [project configure] /react-native-gesture-handler/ios/RNGestureHandlerButtonComponentView.mm overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json
[ info ] [project configure] /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
[ info ] [project configure] /@react-native-community/cli-platform-ios/build/tools/findMatchingSimulator.js overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
[ info ] [project configure] /@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
[ info ] [project configure] Plugin overrides disabled for: next with disablePluginTemplateOverrides. SKIPPING
[ task ] [project configure] parseFonts[1]
[ task ] [project configure] parsePlugins[2]
[ hook ] [project configure] executePipe ('project:configure:after')
[ task ] <= [platform configure] <= project configure
[ task ] [platform configure] isPlatformSupported[1]
[ task ] [platform configure] isBuildSchemeSupported[1]
[ info ] [platform configure] Current Build Scheme: debug
[ task ] [platform configure] checkAndConfigureSdks[1]
[ task ] [platform configure] checkAndConfigureTizenSdks:tizen[1]
[ task ] [platform configure] checkSdk[1]
[ task ] [platform configure] checkTizenSdk[1]
[ task ] [platform configure] _isSdkInstalled[1]
[ task ] [platform configure] configureRuntimeDefaults[5] appId:template
[ task ] => [platform configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[3] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [platform configure] <= install
[ task ] [platform configure] [1] taskRnvPlatformConfigure hasBuildFolderPresent:true
[ task ] [platform configure] createPlatformBuild[1]
[ task ] [platform configure] injectPlatformDependencies[1]
[ hook ] [platform configure] executePipe ('platform:configure:after')
[ task ] <= [configure] <= platform configure
[ task ] [configure] configureEntryPoint[1]
[ task ] [configure] copySharedPlatforms[1]
[ task ] [configure] configureTizenProject[1]
[ task ] [configure] configureTizenGlobal[1]
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen security-profiles list -n RNVanillaCert
[ task ] [configure] copyAssetsFolder[1]
[ info ] [configure] Found custom assetSources at /Users/pauliusguzas/Desktop/renative/renative/node_modules/@flexn/assets-renative-outline/assets/tizen. Will be used to generate assets.
[ task ] [configure] configureCoreWebProject[1]
[ task ] [configure] _configureProject[1]
[ task ] [configure] copyBuildsFolder[1]
[ task ] [configure] copyTemplatePluginsSync[1] (./platformBuilds/template_tizen)
[ task ] [configure] parsePlugins[3]
[ hook ] [configure] executePipe ('configure:after')
[ task ] <= [run] <= configure
[ task ] [run] _configureHostedIfRequired[1]
[ task ] [run] runTizen[1] target:192.168.1.204
[ task ] [run] runTizen[2] target:192.168.1.204 hosted:false
[ info ] [run] Your tizen devServer at port 8087 is not running. Starting it up for you...
[ task ] [run] waitForHost[1] port:8087
[ task ] [run] runWeb[1] port:8087 debugger:true
[ info ] [run] Your tizen devServerHost 127.0.0.1 at port 8087 is not running. Starting it up for you...
[ task ] [run] _runWebBrowser[1] ip:127.0.0.1 port:8087 openBrowser:false
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  BUNDLER STARTED | 2/27/2024, 9:32:49 PM                                 │
│  $ npx rnv run -p tizen -t 192.168.1.204                                     │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-rc.10                                               │
│  Project Name ($package.name): @rnv/template-starter                         │
│  Project Version ($package.version): 1.0.0-rc.10                             │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): tizen                                                        │
│  Engine ($.platforms.tizen.engine): engine-rn-web                            │
│  App Config (-c): template                                                   │
│  Build Scheme (-s): debug                                                    │
│  Target (-t): 192.168.1.204                                                  │
│  Supported Platforms: tizen                                                  │
│  Env Info: darwin | x64 | node v18.17.0                                      │
│  Executed Time: 0h:0m:2s:158ms                                               │
│                                                                              │
│  All good as 🦄                                                              │
│                                                                              │
│  Project location:                                                           │
│  ./platformBuilds/template_tizen                                             │
└──────────────────────────────────────────────────────────────────────────────┘
[ task ] [run] _runWebDevServer[1]
[ task ] [run] parsePlugins[4]
[ warn ] [run] You are missing chii. You can install via npm i -g chii) Trying to use weinre next
[ warn ] [run] You are missing weinre. Skipping debug. install via npm i -g weinre
(node:33651) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:33651) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...
Compiled successfully!
You can now view @rnv/template-starter in the browser.
  Local:            http://localhost:8087
  On Your Network:  http://192.168.1.33:8087
Note that the development build is not optimized.
To create a production build, use npm run build.
assets by path static/ 2.97 MiB
  asset static/js/bundle.js 2.66 MiB [emitted] (name: main) 1 related asset
  asset static/media/Inter-Light.58a136ec3193fa8a63e5.ttf 303 KiB [emitted] [immutable] [from: appConfigs/base/fonts/Inter-Light.ttf] (auxiliary name: main)
  asset static/media/logo.63d54a55b067ffc3e842.png 12.1 KiB [emitted] [immutable] [from: platformAssets/runtime/logo.png] (auxiliary name: main)
asset index.html 1.77 KiB [emitted]
asset asset-manifest.json 356 bytes [emitted]
cached modules 2.35 MiB (javascript) 303 KiB (asset) 28.6 KiB (runtime) [cached] 397 modules
./platformAssets/runtime/logo.png 42 bytes (javascript) 12.1 KiB (asset) [built]
webpack 5.88.2 compiled successfully in 820 ms
Files successfully emitted, waiting for typecheck results...
Issues checking in progress...
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/sdb devices
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/sdb devices
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen build-web -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen -out /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/build
⠋ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen package -- /Users/pauliusguzas/Desktop/renativ
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen package -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/build -s RNVanillaCert -t wgt -o /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen uninstall -p NkVRhWHJST.RNVanillaTV -t UE32M5522
✖ FAILED: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t UE32M5522
[ error ] [run] COMMAND:
/Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t UE32M5522
FAILED with ERROR:
Error: Command failed with exit code 1: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t UE32M5522
Transferring the package...
Transferred the package: /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output/RNVanillaTV.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install NkVRhWHJST.RNVanillaTV
package_path /home/owner/share/tmp/sdk_tools/tmp/RNVanillaTV.wgt
was_install_app return WAS_TRUE
app_id[NkVRhWHJST.RNVanillaTV] install start
app_id[NkVRhWHJST.RNVanillaTV] installing[8]
app_id[NkVRhWHJST.RNVanillaTV] installing[10]
app_id[NkVRhWHJST.RNVanillaTV] installing[13]
app_id[NkVRhWHJST.RNVanillaTV] installing[16]
app_id[NkVRhWHJST.RNVanillaTV] install failed[118]
spend time for wascmd is [917]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:01.922
    at makeError (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[ warn ] [run] There is no emulator or device connected! Let's try to launch it. "rnv target launch -p tizen -t 192.168.1.204"
[ task ] [run] launchTizenSimulator:192.168.1.204[1]
✖ FAILED: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.204
[ error ] [run] COMMAND:
/Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.204
FAILED with ERROR:
Error: 192.168.1.204 does not match any VM
Error: Command failed with exit code 2: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.204
Error: 192.168.1.204 does not match any VM
    at makeError (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

TV5 Samsung Tizen UE43NU7192U, os version 1340

pauliusguzas@MBP-de-Flexn template-starter % npx rnv run -p tizen -t 192.168.1.25
┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│        ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗       │
│        ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝       │
│        ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗         │
│        ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝         │
│        ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗       │
│        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝       │
│                                                                              │
│        Version: 1.0.0-rc.10                                                  │
│        https://renative.org                                                  │
│        🚀 Firing up!...                                                      │
│        $ npx rnv run -p tizen -t 192.168.1.25                                │
│        Start Time: 2/27/2024, 9:34:11 PM                                     │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
[ task ] registerEngine:engine-core[1]
[ task ] configureRuntimeDefaults[1] appId:undefined
[ task ] checkAndMigrateProject[1]
[ task ] loadPluginTemplates[1]
[ task ] parseRenativeConfigs[1]
[ task ] getWorkspaceDirPath[1]
[ task ] generatePlatformTemplatePaths[1]
[ task ] checkAndBootstrapIfRequired[1]
[ task ] loadIntegrations[1]
[ task ] loadEngines[1]
[ task ] loadEnginePluginDeps[1]
[ task ] loadEnginePackageDeps[1]
[ task ] registerEngine:engine-rn-web[1]
[ task ] findSuitableTask[1]
[ info ] Current Engine: engine-rn-web path: /Users/pauliusguzas/Desktop/renative/renative/packages/engine-rn-web
[ task ] registerMissingPlatformEngines[1]
[ task ] initializeTask[1] run
[ task ] => [run]
[ task ] [run] checkIfProjectAndNodeModulesExists[1]
[ hook ] [run] executePipe ('run:before')
[ task ] [run] taskRnvRun[1] parent:undefined port:NaN target:192.168.1.25 hosted:undefined
[ task ] => [run] => [configure]
[ hook ] [configure] executePipe ('configure:before')
[ task ] [configure] taskRnvConfigure[1]
[ task ] => [configure] => [platform configure]
[ hook ] [platform configure] executePipe ('platform:configure:before')
[ task ] [platform configure] taskRnvPlatformConfigure[1]
[ task ] => [platform configure] => [project configure]
[ hook ] [project configure] executePipe ('project:configure:before')
[ task ] [project configure] taskRnvProjectConfigure[1]
[ task ] [project configure] checkAndMigrateProject[2]
[ task ] [project configure] loadPluginTemplates[2]
[ task ] [project configure] parseRenativeConfigs[2]
[ task ] [project configure] getWorkspaceDirPath[2]
[ task ] [project configure] generatePlatformTemplatePaths[2]
[ task ] => [project configure] => [workspace configure]
[ task ] [workspace configure] taskRnvWorkspaceConfigure[1]
[ task ] <= [project configure] <= workspace configure
[ task ] [project configure] checkIfTemplateConfigured[1]
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[1] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] [project configure] checkCrypto[1]
[ task ] [project configure] configureRuntimeDefaults[2] appId:template
[ task ] [project configure] applyTemplate[1] @rnv/template-starter=>undefined
[ task ] [project configure] configureRuntimeDefaults[3] appId:template
[ task ] => [project configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[2] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [project configure] <= install
[ task ] => [project configure] => [app configure]
[ hook ] [app configure] executePipe ('app:configure:before')
[ task ] [app configure] taskRnvAppConfigure[1]
[ task ] [app configure] listAppConfigsFoldersSync[1] ignoreHiddenConfigs:true
[ task ] [app configure] loadPluginTemplates[3]
[ task ] [app configure] parseRenativeConfigs[3]
[ task ] [app configure] generateBuildConfig[1] size:195.34 KB
[ task ] [app configure] getWorkspaceDirPath[3]
[ task ] [app configure] generateBuildConfig[2] size:195.34 KB
[ task ] [app configure] generateBuildConfig[3] size:195.34 KB
[ task ] [app configure] generateBuildConfig[4] size:195.34 KB
[ task ] [app configure] generatePlatformTemplatePaths[3]
[ task ] [app configure] generateBuildConfig[5] size:208.87 KB
[ task ] [app configure] generateBuildConfig[6] size:208.87 KB
[ task ] [app configure] getWorkspaceDirPath[4]
[ task ] [app configure] generateBuildConfig[7] size:208.87 KB
[ task ] [app configure] generateLocalConfig[1] resetAppId:false
[ task ] [app configure] generateBuildConfig[8] size:208.87 KB
[ info ] [app configure] Current App Config: template
[ hook ] [app configure] executePipe ('app:configure:after')
[ task ] <= [project configure] <= app configure
[ task ] [project configure] versionCheck[1]
[ task ] [project configure] versionCheck:rnvRunner:1.0.0-rc.10,rnvProject:1.0.0-rc.10[1]
[ task ] [project configure] configureEngines[1]
[ task ] [project configure] resolvePluginDependants[1]
[ task ] [project configure] configurePlugins[1]
[ task ] [project configure] configureRuntimeDefaults[4] appId:template
[ task ] [project configure] copyRuntimeAssets[1]
[ task ] [project configure] configureTemplateFiles[1]
[ task ] [project configure] checkAndCreateGitignore[1]
[ task ] [project configure] generateRuntimeConfig[1]
[ task ] [project configure] overrideTemplatePlugins[1]
[ task ] [project configure] parsePlugins[1]
[ info ] [project configure] /react-native-gesture-handler/ios/Handlers/RNHoverHandler.m overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json
[ info ] [project configure] /react-native-gesture-handler/ios/RNGestureHandlerButtonComponentView.mm overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/react-native-gesture-handler/overrides.json
[ info ] [project configure] /@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
[ info ] [project configure] /@react-native-community/cli-platform-ios/build/tools/findMatchingSimulator.js overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
[ info ] [project configure] /@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overriden by: /Users/pauliusguzas/Desktop/renative/renative/packages/rnv/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
[ info ] [project configure] Plugin overrides disabled for: next with disablePluginTemplateOverrides. SKIPPING
[ task ] [project configure] parseFonts[1]
[ task ] [project configure] parsePlugins[2]
[ hook ] [project configure] executePipe ('project:configure:after')
[ task ] <= [platform configure] <= project configure
[ task ] [platform configure] isPlatformSupported[1]
[ task ] [platform configure] isBuildSchemeSupported[1]
[ info ] [platform configure] Current Build Scheme: debug
[ task ] [platform configure] checkAndConfigureSdks[1]
[ task ] [platform configure] checkAndConfigureTizenSdks:tizen[1]
[ task ] [platform configure] checkSdk[1]
[ task ] [platform configure] checkTizenSdk[1]
[ task ] [platform configure] _isSdkInstalled[1]
[ task ] [platform configure] configureRuntimeDefaults[5] appId:template
[ task ] => [platform configure] => [install]
[ hook ] [install] executePipe ('install:before')
[ task ] [install] taskRnvInstall[3] requiresInstall:false:true
[ hook ] [install] executePipe ('install:after')
[ task ] <= [platform configure] <= install
[ task ] [platform configure] [1] taskRnvPlatformConfigure hasBuildFolderPresent:true
[ task ] [platform configure] createPlatformBuild[1]
[ task ] [platform configure] injectPlatformDependencies[1]
[ hook ] [platform configure] executePipe ('platform:configure:after')
[ task ] <= [configure] <= platform configure
[ task ] [configure] configureEntryPoint[1]
[ task ] [configure] copySharedPlatforms[1]
[ task ] [configure] configureTizenProject[1]
[ task ] [configure] configureTizenGlobal[1]
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen security-profiles list -n RNVanillaCert
[ task ] [configure] copyAssetsFolder[1]
[ info ] [configure] Found custom assetSources at /Users/pauliusguzas/Desktop/renative/renative/node_modules/@flexn/assets-renative-outline/assets/tizen. Will be used to generate assets.
[ task ] [configure] configureCoreWebProject[1]
[ task ] [configure] _configureProject[1]
[ task ] [configure] copyBuildsFolder[1]
[ task ] [configure] copyTemplatePluginsSync[1] (./platformBuilds/template_tizen)
[ task ] [configure] parsePlugins[3]
[ hook ] [configure] executePipe ('configure:after')
[ task ] <= [run] <= configure
[ task ] [run] _configureHostedIfRequired[1]
[ task ] [run] runTizen[1] target:192.168.1.25
[ task ] [run] runTizen[2] target:192.168.1.25 hosted:false
[ info ] [run] Your tizen devServer at port 8087 is not running. Starting it up for you...
[ task ] [run] waitForHost[1] port:8087
[ task ] [run] runWeb[1] port:8087 debugger:true
[ info ] [run] Your tizen devServerHost 127.0.0.1 at port 8087 is not running. Starting it up for you...
[ task ] [run] _runWebBrowser[1] ip:127.0.0.1 port:8087 openBrowser:false
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  BUNDLER STARTED | 2/27/2024, 9:34:13 PM                                 │
│  $ npx rnv run -p tizen -t 192.168.1.25                                      │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-rc.10                                               │
│  Project Name ($package.name): @rnv/template-starter                         │
│  Project Version ($package.version): 1.0.0-rc.10                             │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): tizen                                                        │
│  Engine ($.platforms.tizen.engine): engine-rn-web                            │
│  App Config (-c): template                                                   │
│  Build Scheme (-s): debug                                                    │
│  Target (-t): 192.168.1.25                                                   │
│  Supported Platforms: tizen                                                  │
│  Env Info: darwin | x64 | node v18.17.0                                      │
│  Executed Time: 0h:0m:2s:266ms                                               │
│                                                                              │
│  All good as 🦄                                                              │
│                                                                              │
│  Project location:                                                           │
│  ./platformBuilds/template_tizen                                             │
└──────────────────────────────────────────────────────────────────────────────┘
[ task ] [run] _runWebDevServer[1]
[ task ] [run] parsePlugins[4]
[ warn ] [run] You are missing chii. You can install via npm i -g chii) Trying to use weinre next
[ warn ] [run] You are missing weinre. Skipping debug. install via npm i -g weinre
(node:33925) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:33925) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
Starting the development server...
Compiled successfully!
You can now view @rnv/template-starter in the browser.
  Local:            http://localhost:8087
  On Your Network:  http://192.168.1.33:8087
Note that the development build is not optimized.
To create a production build, use npm run build.
assets by path static/ 2.97 MiB
  asset static/js/bundle.js 2.66 MiB [emitted] (name: main) 1 related asset
  asset static/media/Inter-Light.58a136ec3193fa8a63e5.ttf 303 KiB [emitted] [immutable] [from: appConfigs/base/fonts/Inter-Light.ttf] (auxiliary name: main)
  asset static/media/logo.63d54a55b067ffc3e842.png 12.1 KiB [emitted] [immutable] [from: platformAssets/runtime/logo.png] (auxiliary name: main)
asset index.html 1.77 KiB [emitted]
asset asset-manifest.json 356 bytes [emitted]
cached modules 2.35 MiB (javascript) 303 KiB (asset) 28.6 KiB (runtime) [cached] 397 modules
./platformAssets/runtime/logo.png 42 bytes (javascript) 12.1 KiB (asset) [built]
webpack 5.88.2 compiled successfully in 849 ms
Files successfully emitted, waiting for typecheck results...
Issues checking in progress...
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/sdb devices
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/sdb devices
⠦ Total time: 00:00:00.383No issues found.
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen build-web -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen -out /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/build
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen package -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/build -s RNVanillaCert -t wgt -o /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output
✔ Executing: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen uninstall -p NkVRhWHJST.RNVanillaTV -t UE43NU7192
✖ FAILED: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t UE43NU7192
[ error ] [run] COMMAND:
/Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t UE43NU7192
FAILED with ERROR:
Error: Command failed with exit code 1: /Users/pauliusguzas/tizen-studio/tools/ide/bin/tizen install -- /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output -n RNVanillaTV.wgt -t UE43NU7192
Transferring the package...
Transferred the package: /Users/pauliusguzas/Desktop/renative/renative/packages/template-starter/platformBuilds/template_tizen/output/RNVanillaTV.wgt -> /home/owner/share/tmp/sdk_tools/tmp
Installing the package...
--------------------
Platform log view
--------------------
install NkVRhWHJST.RNVanillaTV
package_path /home/owner/share/tmp/sdk_tools/tmp/RNVanillaTV.wgt
was_install_app return WAS_TRUE
app_id[NkVRhWHJST.RNVanillaTV] install start
app_id[NkVRhWHJST.RNVanillaTV] installing[7]
app_id[NkVRhWHJST.RNVanillaTV] installing[9]
app_id[NkVRhWHJST.RNVanillaTV] installing[11]
app_id[NkVRhWHJST.RNVanillaTV] installing[14]
app_id[NkVRhWHJST.RNVanillaTV] installing[16]
app_id[NkVRhWHJST.RNVanillaTV] install failed[118012]
spend time for wascmd is [1174]ms
cmd_ret:0
Failed to install Tizen application.
Total time: 00:00:02.117
    at makeError (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[ warn ] [run] There is no emulator or device connected! Let's try to launch it. "rnv target launch -p tizen -t 192.168.1.25"
[ task ] [run] launchTizenSimulator:192.168.1.25[1]
✖ FAILED: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.25
[ error ] [run] COMMAND:
/Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.25
FAILED with ERROR:
Error: 192.168.1.25 does not match any VM
Error: Command failed with exit code 2: /Users/pauliusguzas/tizen-studio/tools/emulator/bin/em-cli launch --name 192.168.1.25
Error: 192.168.1.25 does not match any VM
    at makeError (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/pauliusguzas/Desktop/renative/renative/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

TV9 SAMSUNG UE32T4302AK, os version 2501 - works
TV7 Samsung 5 Series, os version 525 - works

This was referenced Mar 8, 2024
@pauliusguzas pauliusguzas changed the title [tizen] Cannot install app (devices only) [tizen] Cannot install app (certain devices only) Mar 18, 2024
@pavjacko pavjacko modified the milestones: 1.0, 1.1 Jul 26, 2024
@GabrieleKaceviciute GabrieleKaceviciute removed their assignment Aug 12, 2024
@pauliusguzas
Copy link
Collaborator

pauliusguzas commented Aug 12, 2024

1.0.0 update, this issue only remains on TV5 Samsung Tizen UE43NU7192U, os version 1340
and Galaxy Watch Active (89F9), os version 5.5.0.1

@pauliusguzas pauliusguzas changed the title [tizen] Cannot install app (certain devices only) [tizen/tizenwatch] Cannot install app (certain devices only) Aug 12, 2024
@Marius456 Marius456 modified the milestones: 1.1, 1.2 Aug 23, 2024
@pauliusguzas
Copy link
Collaborator

tizenwatch issue was moved to #1739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants