ionic-team / ionic-team/ionic-cli
native-run says "No hardware found"
- 主要言語
- 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
コントリビューションガイド
調査の方向性
Start by reproducing the reported `ionic cordova run android -l -c --native-run` command with a connected Android device and inspect native-run's hardware detection entry point. Done means the connected device is detected and used instead of falling back to the emulator, while preserving the successful run behavior.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, typescript
- 領域
- cli, mobile-dev
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100