renative icon indicating copy to clipboard operation
renative copied to clipboard

rnv run -p androidtv without simulator results in launching simulator but not recognising it

Open pavjacko opened this issue 7 years ago • 7 comments

ReNative run - _runGradle:androidtv - Starting!

ReNative run - _listAndroidTargets:androidtv - Starting! execCLI:null:echo "avd name" | nc localhost 5554 execCLI:null:echo "avd name" | nc localhost 5556 Can't find service: tv_input Can't find service: tv_input ? What emulator would you like to start? Android_TV_1080p_API_22 | TV 📺 | arch: x86 | udid: unknown

ReNative run - launchAndroidSimulator:androidtv:Android_TV_1080p_API_22 - Starting! execCLI:androidEmulator:-avd "Android_TV_1080p_API_22"

ReNative run - _listAndroidTargets:androidtv - Starting! execCLI:null:echo "avd name" | nc localhost 5554 execCLI:null:echo "avd name" | nc localhost 5556 Can't find service: tv_input Can't find service: tv_input looking for active emulators: attempt 1/10

ReNative run - _listAndroidTargets:androidtv - Starting! execCLI:null:echo "avd name" | nc localhost 5554 execCLI:null:echo "avd name" | nc localhost 5556 Can't find service: tv_input Can't find service: tv_input looking for active emulators: attempt 2/10

ReNative run - _listAndroidTargets:androidtv - Starting! execCLI:null:echo "avd name" | nc localhost 5554 execCLI:null:echo "avd name" | nc localhost 5556 Can't find service: tv_input Can't find service: tv_input looking for active emulators: attempt 3/10

ReNative run - _listAndroidTargets:androidtv - Starting! execCLI:null:echo "avd name" | nc localhost 5554 execCLI:null:echo "avd name" | nc localhost 5556 Can't find service: tv_input Can't find service: tv_input looking for active emulators: attempt 4/10

ReNative run - _listAndroidTargets:androidtv - Starting! execCLI:null:echo "avd name" | nc localhost 5554 execCLI:null:echo "avd name" | nc localhost 5556 Can't find service: tv_input Can't find service: tv_input looking for active emulators: attempt 5/10

ReNative run - _listAndroidTargets:androidtv - Starting! execCLI:null:echo "avd name" | nc localhost 5554 execCLI:null:echo "avd name" | nc localhost 5556 Can't find service: tv_input Can't find service: tv_input looking for active emulators: attempt 6/10

ReNative run - _listAndroidTargets:androidtv - Starting! execCLI:null:echo "avd name" | nc localhost 5554 execCLI:null:echo "avd name" | nc localhost 5556 Can't find service: tv_input Can't find service: tv_input looking for active emulators: attempt 7/10

ReNative run - _listAndroidTargets:androidtv - Starting! execCLI:null:echo "avd name" | nc localhost 5554 execCLI:null:echo "avd name" | nc localhost 5556 Can't find service: tv_input Can't find service: tv_input looking for active emulators: attempt 8/10

ReNative run - _listAndroidTargets:androidtv - Starting! execCLI:null:echo "avd name" | nc localhost 5554 execCLI:null:echo "avd name" | nc localhost 5556 Can't find service: tv_input Can't find service: tv_input looking for active emulators: attempt 9/10

ReNative run - _listAndroidTargets:androidtv - Starting! execCLI:null:echo "avd name" | nc localhost 5554 execCLI:null:echo "avd name" | nc localhost 5556 Can't find service: tv_input Can't find service: tv_input looking for active emulators: attempt 10/10

ReNative run - _askForNewEmulator - Starting!

❓ Do you want ReNative to create new Emulator (Android_TV_1080p_API_22) for you? (y) to confirm:

pavjacko avatar Jun 19 '19 15:06 pavjacko

Same issue here. The emulator launches but stays on a black screen.

? What emulator would you like to start? Android_TV_720p_API_24 | TV 📺  | arch: x86 | udid: unknown
$ rnv run -p androidtv - launchAndroidSimulator:androidtv:Android_TV_720p_API_24 - Starting!
execCLI:androidEmulator:-avd "Android_TV_720p_API_24"
$ rnv run -p androidtv - _checkForActiveEmulator:androidtv - Starting!
$ rnv run -p androidtv - _listAndroidTargets:androidtv:false:true:false - Starting!
looking for active emulators: attempt 1/10
$ rnv run -p androidtv - _listAndroidTargets:androidtv:false:true:false - Starting!
looking for active emulators: attempt 2/10
$ rnv run -p androidtv - _listAndroidTargets:androidtv:false:true:false - Starting!
looking for active emulators: attempt 3/10
$ rnv run -p androidtv - _listAndroidTargets:androidtv:false:true:false - Starting!
looking for active emulators: attempt 4/10
$ rnv run -p androidtv - _listAndroidTargets:androidtv:false:true:false - Starting!
looking for active emulators: attempt 5/10
$ rnv run -p androidtv - _listAndroidTargets:androidtv:false:true:false - Starting!
looking for active emulators: attempt 6/10
$ rnv run -p androidtv - _listAndroidTargets:androidtv:false:true:false - Starting!
looking for active emulators: attempt 7/10
$ rnv run -p androidtv - _listAndroidTargets:androidtv:false:true:false - Starting!
looking for active emulators: attempt 8/10
$ rnv run -p androidtv - _listAndroidTargets:androidtv:false:true:false - Starting!
looking for active emulators: attempt 9/10
$ rnv run -p androidtv - _listAndroidTargets:androidtv:false:true:false - Starting!
looking for active emulators: attempt 10/10
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 8/8/2019, 1:46:13 PM                                          │
│  $ rnv run -p androidtv                                                      │
├──────────────────────────────────────────────────────────────────────────────┤
│  Project Name: hello-renative                                                │
│  Project Version: 0.1.0                                                      │
│  App Config: helloWorld                                                      │
│  Supported Platfroms: androidtv                                              │
│  Master Template: renative-template-hello-world                              │
│  Env Info: darwin | x64 | node v10.13.0 | rnv v0.24.0-alpha10                │
│  Platform: androidtv                                                         │
│  Executed Time: 0h:0m:52s:96ms                                               │
│                                                                              │
│ ⚠️  $ rnv run -p androidtv - WARNING: You're missing /Users/steve/.rnv/hello-renative/appConfigs/helloWorld/config.private.json for this app: . You won't be able to make production releases without it!
│ 🛑  $ rnv run -p androidtv - ERRROR! Could not find any active emulatros
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

gmoz22 avatar Aug 08 '19 20:08 gmoz22

I had this same issue. I was able to resolve it by changing a setting on my virtual device:

image

  1. In Android Studio, click on the AVD Manager icon image

  2. On the image you are going to use, click the pencil icon image

  3. Under "Advanced Settings" > "Boot Option", select the "Cold boot" option image image

  4. Open 2 terminal windows

    • rnv start
    • rnv run -p androidtv

It will boot up the AndroidTV emulator, take some amount of time, and then wala!!!

image

I think this process doesn't work when reloading a saved image because it adds something to the boot loader/startup sequence to connect for a live streaming install onto the device.

chwagssd avatar Aug 08 '19 21:08 chwagssd

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 07 '19 21:10 stale[bot]

Unstale

On Mon, Oct 7, 2019, 23:18 stale[bot] [email protected] wrote:

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/pavjacko/renative/issues/104?email_source=notifications&email_token=ABEQ5OULFT3REQNEUYRE4NLQNORQZA5CNFSM4HZK3YG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAR2W6Y#issuecomment-539208571, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEQ5OVA6XLUMQYWKPND6DTQNORQZANCNFSM4HZK3YGQ .

mihaiblaga89 avatar Oct 07 '19 21:10 mihaiblaga89

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 06 '19 22:12 stale[bot]

This is happening again, reopening

mihaiblaga89 avatar Jan 20 '20 18:01 mihaiblaga89

should be fixed by now

mihaiblaga89 avatar Mar 21 '22 12:03 mihaiblaga89