apache / apache/cordova-android

Cordova can't find the device connected via Wireless Debugging feature on Android 11

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

Description

# Bug Report

## Problem
Device can't be found by Cordova that was connected using the "Wireless Debugging" feature in Android 11

### What is expected to happen?
Device is found and app gets installed/run on the device

### What does actually happen?
Cordova points out that no device is found, and tries to run it in an emulator

## Information

### Command or Code

The device is listed under: `adb devices`
but running `cordova run android` will give the problem

### Environment, Platform, Device

S10+ Android 11

### Version information

Cordova: 10.0.0
Cordova Android: 8.1.0
OS: Android 11

## Checklist

- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a device connected through Android 11 Wireless Debugging, confirm it appears in `adb devices`, and run `cordova run android`. Trace the device-detection path that decides whether to use a connected device or an emulator; done means the wireless device is recognized and the app installs or runs on it.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.