ionic-team / ionic-team/ionic-cli

native-run says "No hardware found"

未关闭
#4,037 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

**Description:**
App is running on Device, but native-run says "No hardware found". A android device is connected though.

**Steps to Reproduce:**
A android device is connected, however while running the below command C:\Users\Shyam\AndroidStudioProjects\TGCFinal>ionic cordova run android -l -c --native-run

**Output:**
native-run.cmd android --app platforms\android\app\build\outputs\apk\debug\app-debug.apk --connect --forward 8100:8100
[native-run] No hardare devices found, attempting emulator...
[native-run] Selected emulator BH906DYT17
[native-run] Forwarded device port 8100 to host port 8100
[native-run] Installing platforms\android\app\build\outputs\apk\debug\app-debug.apk...
[native-run] Starting application activity io.ionic.starter/io.ionic.starter.MainActivity...
[native-run] Run Successful
[native-run] Waiting for app to close...

**My `ionic info`:**
_ _
(_) ___ _ __ (_) ___
| |/ _ \| '_ \| |/ __|
| | (_) | | | | | (__
|_|\___/|_| |_|_|\___| CLI 5.0.1

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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