fluttercommunity / fluttercommunity/flutter_webview_plugin
Attempt to remove non-JNI local reference, dumping thread
- Lenguaje dominante
- Java
- Estrellas
- 1.5k
- Forks
- 938
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## System info
Issue occurs on: tested only on Android
Plugin version: 0.3.8
Flutter doctor output:
```
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Linux, locale pt_BR.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[!] Android Studio (not installed)
[✓] VS Code (version 1.38.1)
[✓] Connected device (1 available)
```
## Steps to Reproduce
1. when screen shows up
## Logs
```
W/art ( 2809): Attempt to remove non-JNI local reference, dumping thread
W/art ( 2809): Attempt to remove non-JNI local reference, dumping thread
W/art ( 2809): Attempt to remove non-JNI local reference, dumping thread
W/art ( 2809): Attempt to remove non-JNI local reference, dumping thread
W/art ( 2809): Attempt to remove non-JNI local reference, dumping thread
W/art ( 2809): Attempt to remove non-JNI local reference, dumping thread
W/art ( 2809): Attempt to remove non-JNI local reference, dumping thread
W/art ( 2809): Attempt to remove non-JNI local reference, dumping thread
W/art ( 2809): Attempt to remove non-JNI local reference, dumping thread
I/art ( 2809): Background sticky concurrent mark sweep GC freed 29(752B) AllocSpace objects, 0(0B) LOS objects, 0% free, 13MB/13MB, paused 5.379ms total 7.415ms
```
and keep printing it in an infinite loop...
```
✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Linux, locale pt_BR.UTF-8)
• Flutter version 1.9.1+hotfix.2 at /home/rodrigo/Development/flutter
• Framework revision 2d2a1ffec9 (2 weeks ago), 2019-09-06 18:39:49 -0700
• Engine revision b863200c37
• Dart version 2.5.0
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /home/rodrigo/Android/SDK
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /home/rodrigo/Android/SDK
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1~deb9u1-b10)
• All Android licenses accepted.
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/setup/#android-setup for detailed instructions).
[✓] VS Code (version 1.38.1)
• VS Code at /usr/share/code
• Flutter extension version 3.4.1
[✓] Connected device (1 available)
• Custom Phone • 192.16[...]:5555 • android-x86 • Android 6.0 (API 23)
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Reproduce la advertencia en Android con flutter_webview_plugin 0.3.8 usando la configuración indicada, empezando cuando aparezca la pantalla. Inspecciona el manejo nativo de Java/JNI del plugin y usa el registro repetido de ART como señal del fallo. La tarea estará terminada cuando la advertencia ya no se imprima continuamente al abrir la WebView.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, flutter, java
- Área
- mobile
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100