flexn-io / renative

🚀🚀🚀 Unified Development Platform for iOS, tvOS, Android, Android TV, Android Wear, Web, Tizen TV, Tizen Watch, Tizen Mobile, LG webOS, macOS/OSX, Windows, KaiOS, FirefoxOS Firefox TV platforms
https://renative.org
MIT License
1.82k stars 180 forks source link

Renative uninstall tizen app on real device #918

Closed tran-the-lam closed 1 year ago

tran-the-lam commented 2 years ago

Hi team! I'm having problems with my program. When I run rnv run -p tizen -t LS32AM700UEXXV then output:

`✖ FAILED: /Users/user/tizen-studio/tools/emulator/bin/em-cli launch --name LS32AM700UEXXV
✖ FAILED: /Users/user/tizen-studio/tools/emulator/bin/em-cli create -n LS32AM700UEXXV -p tv-samsung-5.0-x86
[ error ] [run] Could not find the specified target and could not create the emulator automatically.
Please create one and then edit the default target from /Users/user/.rnv/renative.json`

renative.json data:

{
    "sdks": {
        "ANDROID_SDK": "/Users/<USER>/Library/Android/sdk",
        "ANDROID_NDK": "/Users/<USER>/Library/Android/sdk/ndk-bundle",
        "IOS_SDK": "No need. Just install Xcode",
        "TIZEN_SDK": "/Users/user/tizen-studio",
        "WEBOS_SDK": "/opt/webOS_TV_SDK",
        "KAIOS_SDK": "/Applications/Kaiosrt.app"
    },
    "defaultTargets": {
        "android": "Nexus_5X_API_26",
        "androidtv": "Android_TV_720p_API_22",
        "firetv": "Android_TV_720p_API_22",
        "androidwear": "Android_Wear_Round_API_28",
        "ios": "iPhone 8",
        "tvos": "Apple TV 4K",
        "tizen": "LS32AM700UEXXV",
        "tizenwatch": "W-5.5-circle-x86",
        "tizenmobile": "mobile-5.5-x86",
        "webos": "emulator"
    }
}

I tried running a simple program on tizen-studio, it works fine and installed on my real device but if I run the renative program it gives me the above error. Is there any way to fix this problem?

hantrungkien commented 2 years ago

@mihaiblaga89 I'm using Renative v0.36.1 and also I've got the same problem as @lamtt2403 . Please help me.

mihaiblaga89 commented 2 years ago

@lamtt2403 @hantrungkien that's because the -t argument should be the IP of the device, not the name https://renative.org/docs/platforms/tizen#launch-on-a-specific-tizen-device That's because rnv can execute sdb connect with the IP automatically if it's not already connected. Also, don't forget about the -d param which specifies that it's a device

pauliusguzas commented 1 year ago

Closing as answer has been provided