NativeScript / NativeScript/nativescript-cli

Error with Tns devices

Offen
#4,706 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

needs more info os: android
Vorherrschende Sprache
JavaScript
Sterne
1.1k
Forks
204
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
8

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die Abweichung mit adb devices, tns devices und tns run android auf dem gemeldeten Android-9-Setup zu reproduzieren, und überprüfe anschließend die Ausgabe von tns doctor. Die Aufgabe ist erledigt, wenn das physische Gerät von tns devices aufgelistet wird und tns run android die Geräteerkennung ohne den fehlerhaften adb-Befehl passiert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android, javascript
Bereich
cli, mobile-dev
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.