Ich bin gerade dabei, FirebaseUI einzurichten mithilfe der Google-Anleitung, aber plötzlich ist eine Fehlermeldung aufgetreten, für die ich scheinbar keine Lösung finde. Ich bin mir ziemlich sicher, dass es an meinem Gradle liegt, denn ich habe erfolglos versucht, Änderungen in meinen Java-Dateien zu kommentieren, indem ich mein Telefon anstelle eines AVD und andere Emulatoren verwendet habe. Ich habe alles, was ich habe, in die Run-Konsole, Manifest und Gradles eingefügt. Wenn Sie weitere Informationen benötigen, lassen Sie es mich bitte wissen. Vielen Dank!
BEARBEITEN: Für diejenigen mit dem gleichen Problem: Ich glaube, ich habe es behoben, indem ich die Google Play-Dienste auf dem API Q-Emulator aktualisiert habe (Sie müssen sich zuerst bei Google Play anmelden) und dann Folgendes zum Gradle auf App-Ebene hinzugefügt:
09/07 19:52:53: Launching 'app' on Pixel 2 API Q.
$ adb shell am start -n "com.example.litlocal/com.example.litlocal.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Waiting for process to come online...
Connected to process 14608 on device 'Pixel_2_API_Q [emulator-5554]'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/xample.litloca: The ClassLoaderContext is a special shared library.
I/xample.litloca: The ClassLoaderContext is a special shared library.
W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
I/FirebaseAuth: [FirebaseAuth:] Preparing to create service connection to gms implementation
V/FA: Registered activity lifecycle callback
I/FirebaseInitProvider: FirebaseApp initialization successful
D/OpenGLRenderer: Skia GL Pipeline
D/libEGL: Emulator has host GPU support, qemu.gles is set to 1.
W/libc: Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied)
E/vndksupport: Could not load /vendor/lib/egl/libGLES_emulation.so from sphal namespace: dlopen failed: library "/vendor/lib/egl/libGLES_emulation.so" not found.
E/libEGL: load_driver(/vendor/lib/egl/libGLES_emulation.so): unknown
D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so
D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so
W/RenderThread: type=1400 audit(0.0:4449): avc: denied { write } for name="property_service" dev="tmpfs" ino=8377 scontext=u:r:untrusted_app_27:s0:c119,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so
V/FA: onActivityCreated
W/xample.litloca: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection)
W/xample.litloca: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection)
D/: HostConnection::get() New Host Connection established 0xdc721500, tid 14666
D/: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_dma_v1 ANDROID_EMU_host_composition_v1 GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_0
D/OpenGLRenderer: Swap behavior 1
W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
D/OpenGLRenderer: Swap behavior 0
D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 0 0
D/EGL_emulation: eglCreateContext: 0xdc7124e0: maj 3 min 0 rcv 3
D/EGL_emulation: eglMakeCurrent: 0xdc7124e0: ver 3 0 (tinfo 0xdc708f60)
V/FA: Collection enabled
V/FA: App package, google app id: com.example.litlocal, 1:175514927228:android:47ec351c4609ff5c6609f9
W/Gralloc3: mapper 3.x is not supported
I/FA: App measurement is starting up, version: 18202
To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app com.example.litlocal
D/FA: Debug-level message logging enabled
D/: createUnique: call
D/: HostConnection::get() New Host Connection established 0xdc721640, tid 14666
D/: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_dma_v1 ANDROID_EMU_host_composition_v1 GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_0
D/EGL_emulation: eglMakeCurrent: 0xdc7124e0: ver 3 0 (tinfo 0xdc708f60)
D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 0
I/xample.litloca: Background young concurrent copying GC freed 16987(4410KB) AllocSpace objects, 8(224KB) LOS objects, 78% free, 1696KB/7840KB, paused 6.401ms total 59.038ms
V/FA: Connecting to remote service
V/FA: Detected application was in foreground
V/FA: Session started, time: 27900964
D/FA: Setting user property (FE): _sid, 1567911177
V/FA: Connection attempt already in progress
I/FA: Tag Manager is not found and thus will not be used
D/FA: Logging event (FE): session_start(_s), Bundle[{ga_event_origin(_o)=auto, ga_session_id(_sid)=1567911177}]
V/FA: Connection attempt already in progress
V/FA: Connection attempt already in progress
V/FA: Activity resumed, time: 27900309
D/FA: Logging event (FE): screen_view(_vs), Bundle[{ga_event_origin(_o)=auto, ga_screen_class(_sc)=MainActivity, ga_screen_id(_si)=8377598752693967695}]
V/FA: Connection attempt already in progress
Connection attempt already in progress
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 6
V/FA: Inactivity, disconnecting from the service
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.google.gms:google-services:4.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Ich bin gerade dabei, FirebaseUI einzurichten mithilfe der Google-Anleitung, aber plötzlich ist eine Fehlermeldung aufgetreten, für die ich scheinbar keine Lösung finde. Ich bin mir ziemlich sicher, dass es an meinem Gradle liegt, denn ich habe erfolglos versucht, Änderungen in meinen Java-Dateien zu kommentieren, indem ich mein Telefon anstelle eines AVD und andere Emulatoren verwendet habe. Ich habe alles, was ich habe, in die Run-Konsole, Manifest und Gradles eingefügt. Wenn Sie weitere Informationen benötigen, lassen Sie es mich bitte wissen. Vielen Dank!
[b]BEARBEITEN: Für diejenigen mit dem gleichen Problem: Ich glaube, ich habe es behoben, indem ich die Google Play-Dienste auf dem API Q-Emulator aktualisiert habe (Sie müssen sich zuerst bei Google Play anmelden) und dann Folgendes zum Gradle auf App-Ebene hinzugefügt:[/b]
[b]Ich weiß nicht, wie es funktioniert hat, aber ich hoffe, dass es bei Ihnen auch funktioniert.[/b]
[b]Ausführen (nur Konflikte)[/b]
[code]... W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found. ... W/libc: Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied) E/vndksupport: Could not load /vendor/lib/egl/libGLES_emulation.so from sphal namespace: dlopen failed: library "/vendor/lib/egl/libGLES_emulation.so" not found. E/libEGL: load_driver(/vendor/lib/egl/libGLES_emulation.so): unknown W/RenderThread: type=1400 audit(0.0:4480): avc: denied { write } for name="property_service" dev="tmpfs" ino=8377 scontext=u:r:untrusted_app_27:s0:c119,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 ... W/xample.litloca: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection) Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection) ... W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... ... W/Gralloc3: mapper 3.x is not supported [/code]
[b]Ausführen (vollständig)[/b]
[code]09/07 19:52:53: Launching 'app' on Pixel 2 API Q. $ adb shell am start -n "com.example.litlocal/com.example.litlocal.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Waiting for process to come online... Connected to process 14608 on device 'Pixel_2_API_Q [emulator-5554]'. Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/xample.litloca: The ClassLoaderContext is a special shared library. I/xample.litloca: The ClassLoaderContext is a special shared library. W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found. W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found. I/FirebaseAuth: [FirebaseAuth:] Preparing to create service connection to gms implementation V/FA: Registered activity lifecycle callback I/FirebaseInitProvider: FirebaseApp initialization successful D/OpenGLRenderer: Skia GL Pipeline D/libEGL: Emulator has host GPU support, qemu.gles is set to 1. W/libc: Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied) E/vndksupport: Could not load /vendor/lib/egl/libGLES_emulation.so from sphal namespace: dlopen failed: library "/vendor/lib/egl/libGLES_emulation.so" not found. E/libEGL: load_driver(/vendor/lib/egl/libGLES_emulation.so): unknown D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so W/RenderThread: type=1400 audit(0.0:4449): avc: denied { write } for name="property_service" dev="tmpfs" ino=8377 scontext=u:r:untrusted_app_27:s0:c119,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so V/FA: onActivityCreated W/xample.litloca: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection) W/xample.litloca: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection) D/: HostConnection::get() New Host Connection established 0xdc721500, tid 14666 D/: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_dma_v1 ANDROID_EMU_host_composition_v1 GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_0 D/OpenGLRenderer: Swap behavior 1 W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... D/OpenGLRenderer: Swap behavior 0 D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 0 0 D/EGL_emulation: eglCreateContext: 0xdc7124e0: maj 3 min 0 rcv 3 D/EGL_emulation: eglMakeCurrent: 0xdc7124e0: ver 3 0 (tinfo 0xdc708f60) V/FA: Collection enabled V/FA: App package, google app id: com.example.litlocal, 1:175514927228:android:47ec351c4609ff5c6609f9 W/Gralloc3: mapper 3.x is not supported I/FA: App measurement is starting up, version: 18202 To enable debug logging run: adb shell setprop log.tag.FA VERBOSE To enable faster debug mode event logging run: adb shell setprop debug.firebase.analytics.app com.example.litlocal D/FA: Debug-level message logging enabled D/: createUnique: call D/: HostConnection::get() New Host Connection established 0xdc721640, tid 14666 D/: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_dma_v1 ANDROID_EMU_host_composition_v1 GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_0 D/EGL_emulation: eglMakeCurrent: 0xdc7124e0: ver 3 0 (tinfo 0xdc708f60) D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 1 0 I/xample.litloca: Background young concurrent copying GC freed 16987(4410KB) AllocSpace objects, 8(224KB) LOS objects, 78% free, 1696KB/7840KB, paused 6.401ms total 59.038ms V/FA: Connecting to remote service V/FA: Detected application was in foreground V/FA: Session started, time: 27900964 D/FA: Setting user property (FE): _sid, 1567911177 V/FA: Connection attempt already in progress I/FA: Tag Manager is not found and thus will not be used D/FA: Logging event (FE): session_start(_s), Bundle[{ga_event_origin(_o)=auto, ga_session_id(_sid)=1567911177}] V/FA: Connection attempt already in progress V/FA: Connection attempt already in progress V/FA: Activity resumed, time: 27900309 D/FA: Logging event (FE): screen_view(_vs), Bundle[{ga_event_origin(_o)=auto, ga_screen_class(_sc)=MainActivity, ga_screen_id(_si)=8377598752693967695}] V/FA: Connection attempt already in progress Connection attempt already in progress D/FA: Connected to remote service V/FA: Processing queued up service tasks: 6 V/FA: Inactivity, disconnecting from the service
[/code]
[b]Manifest[/b]
[code]
[/code]
[b]Gradle (Projekt)[/b]
[code]// Top-level build file where you can add configuration options common to all sub-projects/modules.
Dies ist dasselbe wie diese Frage aus dem Jahr 2016 (wobei die Antwort im Wesentlichen „Nein“ lautete), aber Android Auto funktioniert seit 2019 ganz anders als 2016, daher denke ich, dass es in...
Ich erstelle mit PyQT ein Tool mit GUI, sodass die Qiling-Emulation in einem QThread-Objekt ausgeführt wird. Ich verwende RootFS Sandbox Env mit dem Qiling. Jetzt kann ich eine Datei erstellen,...
Ich habe ein kleines Programm für eine Universitätsaufgabe geschrieben und ein überraschendes Ergebnis erhalten: Die Debug -Konfiguration läuft schneller als Release , und der für x86_64 (emuliert)...
Ich versuche derzeit, meine App so zu migrieren, dass sie mit Android 15 kompatibel ist. Für die Testen von Android 15 -API müssen wir API 35 oder Vanillaicecream API einrichten. Basierend auf der...
Ich habe PHP5.4.4
und habe den SQLSRV-Treiber für die Arbeit mit Microsoft SQL heruntergeladen
habe die DLL im ext-Ordner von PHP und in der php.ini abgelegt