apache / apache/cordova-android

Verify the available device before run command

Open
#1,670 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
3.8k
Forks
1.6k
Avg merge
16h 18m
Merged PRs (30d)
11

Description

Most of the time the testing mobile disconnect automatically or other some reason, and when I try to run the app on the device it show this message "Could not find target matching { id: 'xxxxxxxx' }", I think must **cordova run** command should verify the available device then start the generating apk process. This should save developers time.

Thank you.

Contributor guide

Open the contributing guide

Research direction

The issue names the cordova run command but no source file or test. Trace the command’s device-selection and startup flow, reproduce the disconnected-device case, and verify that APK generation does not start when the target is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
cli, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.