NativeScript / NativeScript/nativescript-cli

Error with Tns devices

未关闭
#4,706 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

needs more info os: android
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在报告的 Android 9 环境上使用 adb devicestns devicestns run android 重现不一致问题,然后检查 tns doctor 的输出。物理设备被 tns devices 列出,并且 tns run android 在没有格式错误的 adb 命令的情况下通过设备检测,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, javascript
领域
cli, mobile-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。