NativeScript / NativeScript/nativescript-cli

Error with Tns devices

Open
#4,706 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs more info os: android
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

Hello community

I have to mention something that I see very strange in the behavior of my native.

I try to install an application on Android with a physical device with Android 9.

The topic:
adb devices recognizes my device at the moment,

List of connected devices
9ca3acaf device

tns devices DOES NOT RECOGNIZE THE DEVICE.:
Unable to find connected devices. Reconnect connected devices, verify that your system recognizes them and rerun this command.

When I try to do:

tns run android:

Skipping the node_modules folder! Use the syncAllFiles option to synchronize files in this folder.

Looking for devices ...
Unable to find connected devices.

The start of the emulator failed with: The command failed: C: \ Android \ android-sdk \ platform-tools \ adb -s shell 9ca3acaf getprop ro.product.manufacturer

To list the currently connected devices and verify that the specified identifier exists, execute 'tns device'.
To list the available emulator images, run 'tns device <Platform> --available-devices'.

I really do not know what to do anymore ... I'm desperate. Because I do not understand why my
adb recognizes my device and the tns .. NO?

image

My tns doctor
image

And the device admin:
image

Many thanks friends

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the mismatch with adb devices, tns devices, and tns run android on the reported Android 9 setup, then review the tns doctor output. Done means the physical device is listed by tns devices and tns run android proceeds past device detection without the malformed adb command.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
cli, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.