[native-run] adb.exe: error: cannot bind listener: Operation not permitted
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- android, typescript
- Área
- mobile
Línea de trabajo
Empieza reproduciendo ionic cordova emulate android -l -c con el destino de emulador mostrado e inspecciona el manejo de native-run de la vinculación de la consola y del comando adb reverse. Se considera terminado cuando el modo de salida de consola -c ya no falla con adb.exe: error: cannot bind listener: Operation not permitted, mientras live reload sigue funcionando.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi,
This error occurs while using livereload and console binding command (-l and -c flags), it seems that adb.exe refuses to bind to listener for reading console outputs.
This could be related to the update made by google.
command used : ionic cordova emulate android -l -c
Edit: problem comes from -c flag to read console output, live reload (-l flag) works.
Output :
D:\Work\benzaiten\mobile-app\benzaiten>ionic cordova emulate android --target=Nexus_5X_API_29 -l -c
> ng.cmd run app:ionic-cordova-serve --host=localhost --port=8100 --platform=android
[INFO] Waiting for connectivity with ng...
[INFO] Development server running!
Local: http://localhost:8100
Use Ctrl+C to quit this process
> cordova.cmd build android --target Nexus_5X_API_29
> native-run.cmd android --app platforms\android\app\build\outputs\apk\debug\app-debug.apk --target Nexus_5X_API_29 --connect --forward 8100:8100
[ng] Date: 2019-06-06T17:39:14.280Z
[ng] Hash: ad415a1f46486ce1f9fa
[ng] Time: 18198ms
[ng] chunk {common} common.js, common.js.map (common) 20.2 kB [rendered]
[ng] chunk {cordova} cordova.js, cordova.js.map (cordova) 62.4 kB [entry] [rendered]
[ng] chunk {es2015-polyfills} es2015-polyfills.js, es2015-polyfills.js.map (es2015-polyfills) 285 kB [initial] [rendered]
[ng] chunk {home-home-module} home-home-module.js, home-home-module.js.map (home-home-module) 17.3 kB [rendered]
[ng] chunk {main} main.js, main.js.map (main) 31.9 kB [initial] [rendered]
[ng] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 237 kB [initial] [rendered]
[ng] chunk {runtime} runtime.js, runtime.js.map (runtime) 8.79 kB [entry] [rendered]
[ng] chunk {styles} styles.js, styles.js.map (styles) 88 kB [initial] [rendered]
[ng] chunk {vendor} vendor.js, vendor.js.map (vendor) 4.37 MB [initial] [rendered]
[INFO] ... and 173 additional chunks
[ng] i 「wdm」: Compiled successfully.
[native-run] Selected emulator emulator-5554
[native-run] Error: Command failed: C:\Users\laurent\AppData\Local\Android\Sdk\platform-tools/adb -s emulator-5554 reverse tcp:8100 tcp:8100
[native-run] adb.exe: error: cannot bind listener: Operation not permitted
[native-run]
[native-run] at ChildProcess.exithandler (child_process.js:297:12)
[native-run] at ChildProcess.emit (events.js:197:13)
[native-run] at maybeClose (internal/child_process.js:984:16)
[native-run] at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
[ERROR] An error occurred while running subprocess native-run.
native-run.cmd android --app platforms\android\app\build\outputs\apk\debug\app-d... exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
- Lenguaje dominante
- TypeScript
- Estrellas
- 141
- Forks
- 35
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ionic-team/native-run
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ionic-team/native-run#409 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 66/100
ionic-team/native-run#410 · 1 comentario ·
-
tools not found?Abiertoandroid
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
ionic-team/native-run#395 ·
-
android
Dificultad 3/5 1-2 días Aptitud para principiantes 28/100
ionic-team/native-run#390 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
ionic-team/native-run#389 ·
Todos los issues de ionic-team/native-run
Issues similares
-
needs-area-label
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 2 días
-
Website: the hero tip's video play() has no catch, so a refused play is an unhandled rejectionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
liberation-data/drivine#615 ·
Los mantenedores suelen responder en 1 día
-
backend bug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
geolens-io/geolens#3639 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
radius-project/ai-extensions#1196 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100