Probleme mit Firebase Authentication

Diskutiere Probleme mit Firebase Authentication im Mobile Geräte Forum; Lass dir vielleicht mal ausgeben welchen Teil der onClick er ausführt.

  1. Robat
    Robat Bekanntes Mitglied
    Lass dir vielleicht mal ausgeben welchen Teil der onClick er ausführt.
     
  2. brilzi89
    brilzi89 Mitglied
    Logcat sagt folgendes wenn ich auf den Login Button drücke. Allerdings kann ich nichts erkennen

    Code (Text):
    05-10 20:26:31.407 487-649/system_process I/ActivityManager: START u0 {cmp=trucki.spas.de.truckiprojekt/.RegisterActivity} from pid 2453
       
        --------- beginning of /dev/log/main
    05-10 20:26:31.417 2453-2453/trucki.spas.de.truckiprojekt E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering
    05-10 20:26:31.417 2453-2453/trucki.spas.de.truckiprojekt W/dalvikvm: VFY: unable to resolve instanceof 213 (Landroid/graphics/drawable/RippleDrawable;) in Landroid/support/v7/widget/AppCompatImageHelper;
    05-10 20:26:31.417 2453-2453/trucki.spas.de.truckiprojekt D/dalvikvm: VFY: replacing opcode 0x20 at 0x000c
    05-10 20:26:31.437 2453-2453/trucki.spas.de.truckiprojekt W/BiChannelGoogleApi: [FirebaseAuth: ] getGoogleApiForMethod() returned Gms
    05-10 20:26:31.517 793-1932/com.google.process.gapps W/GLSUser: [DeviceKeyStore] Cannot load key: Device key file not found.
    05-10 20:26:31.517 2453-2453/trucki.spas.de.truckiprojekt W/EGL_emulation: eglSurfaceAttrib not implemented
    05-10 20:26:31.547 2453-2470/trucki.spas.de.truckiprojekt D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=25547, firebase_screen_class(_sc)=StartActivity, firebase_screen_id(_si)=5089355942446802281}]
    05-10 20:26:31.547 158-512/? E/Drm: Failed to open plugin directory /vendor/lib/mediadrm
    05-10 20:26:31.547 1436-1899/com.google.android.gms.unstable W/DG.WV: Widevine DRM not supported on this device
        android.media.UnsupportedSchemeException: Failed to instantiate drm object.
            at android.media.MediaDrm.native_setup(Native Method)
            at android.media.MediaDrm.<init>(MediaDrm.java:163)
            at pew.run(:com.google.android.gms@12673005@12.6.73 (000700-194189626):11)
            at mfx.run(:com.google.android.gms@12673005@12.6.73 (000700-194189626):27)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
            at mly.run(:com.google.android.gms@12673005@12.6.73 (000700-194189626))
            at java.lang.Thread.run(Thread.java:841)
    05-10 20:26:31.597 1436-1527/com.google.android.gms.unstable D/dalvikvm: GC_FOR_ALLOC freed 811K, 22% free 5735K/7284K, paused 43ms, total 44ms
    05-10 20:26:31.947 793-1932/com.google.process.gapps I/qtaguid: Tagging socket 67 with tag 2000040100000000(536871937) for uid 10007 failed errno=-13
    05-10 20:26:31.947 793-1932/com.google.process.gapps I/NetworkManagementSocketTagger: tagSocketFd(67, 536871937, 10007) failed with errno-13
    05-10 20:26:32.067 793-1932/com.google.process.gapps W/GLSUser: [AppCertManager] IOException while requesting key:
        java.io.IOException: Invalid device key response.
            at gwx.a(:com.google.android.gms@12673005@12.6.73 (000700-194189626):12)
            at gwx.a(:com.google.android.gms@12673005@12.6.73 (000700-194189626):64)
            at gwx.a(:com.google.android.gms@12673005@12.6.73 (000700-194189626):20)
            at gwv.a(:com.google.android.gms@12673005@12.6.73 (000700-194189626):4)
            at gwv.onTransact(:com.google.android.gms@12673005@12.6.73 (000700-194189626):4)
            at android.os.Binder.transact(Binder.java:361)
            at dbp.onTransact(:com.google.android.gms@12673005@12.6.73 (000700-194189626):3)
            at android.os.Binder.execTransact(Binder.java:404)
            at dalvik.system.NativeStart.run(Native Method)
    05-10 20:26:32.107 793-1932/com.google.process.gapps W/GLSUser: [DeviceKeyStore] Cannot load key: Device key file not found.
    05-10 20:26:32.237 777-2364/com.google.android.gms I/qtaguid: Tagging socket 73 with tag 2000100400000000(536875012) for uid 10007 failed errno=-13
    05-10 20:26:32.367 2453-2453/trucki.spas.de.truckiprojekt D/dalvikvm: GC_FOR_ALLOC freed 346K, 2% free 37249K/37652K, paused 6ms, total 16ms
    05-10 20:26:32.397 2453-2453/trucki.spas.de.truckiprojekt I/dalvikvm-heap: Grow heap (frag case) to 68.070MB for 33177612-byte allocation
    05-10 20:26:32.727 777-2364/com.google.android.gms I/qtaguid: Tagging socket 83 with tag 2000100400000000(536875012) for uid 10007 failed errno=-13
    05-10 20:26:32.767 777-2364/com.google.android.gms I/qtaguid: Untagging socket 83 failed errno=-13
        Tagging socket 83 with tag 2000100400000000(536875012) for uid 10007 failed errno=-13
    05-10 20:26:32.787 777-2364/com.google.android.gms I/qtaguid: Untagging socket 83 failed errno=-13
        Tagging socket 83 with tag 2000100400000000(536875012) for uid 10007 failed errno=-13
    05-10 20:26:32.807 777-2364/com.google.android.gms I/qtaguid: Untagging socket 83 failed errno=-13
    05-10 20:26:32.817 777-2364/com.google.android.gms I/qtaguid: Tagging socket 83 with tag 2000100400000000(536875012) for uid 10007 failed errno=-13
    05-10 20:26:32.837 777-2364/com.google.android.gms I/qtaguid: Untagging socket 83 failed errno=-13
        Tagging socket 83 with tag 2000100400000000(536875012) for uid 10007 failed errno=-13
    05-10 20:26:32.837 2453-2453/trucki.spas.de.truckiprojekt D/dalvikvm: GC_FOR_ALLOC freed 45K, 1% free 69604K/70056K, paused 17ms, total 18ms
    05-10 20:26:32.857 777-2364/com.google.android.gms I/qtaguid: Untagging socket 83 failed errno=-13
    05-10 20:26:32.867 777-2364/com.google.android.gms I/qtaguid: Tagging socket 83 with tag 2000100400000000(536875012) for uid 10007 failed errno=-13
    05-10 20:26:32.887 777-2364/com.google.android.gms I/qtaguid: Untagging socket 83 failed errno=-13
    05-10 20:26:32.927 2453-2453/trucki.spas.de.truckiprojekt I/Choreographer: Skipped 87 frames!  The application may be doing too much work on its main thread.
    05-10 20:26:32.977 2453-2470/trucki.spas.de.truckiprojekt D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=StartActivity, firebase_previous_id(_pi)=5089355942446802281, firebase_screen_class(_sc)=RegisterActivity, firebase_screen_id(_si)=5089355942446802282}]
    05-10 20:26:33.167 777-2364/com.google.android.gms I/qtaguid: Untagging socket 73 failed errno=-13
    05-10 20:26:33.287 2453-2453/trucki.spas.de.truckiprojekt W/EGL_emulation: eglSurfaceAttrib not implemented
    05-10 20:26:33.317 793-1181/com.google.process.gapps W/GLSUser: [DeviceKeyStore] Cannot load key: Device key file not found.
        [DeviceKeyStore] Cannot load key: Device key file not found.
    05-10 20:26:33.327 777-2365/com.google.android.gms I/qtaguid: Tagging socket 73 with tag 2000100400000000(536875012) for uid 10007 failed errno=-13
    05-10 20:26:33.817 777-2365/com.google.android.gms I/qtaguid: Untagging socket 73 failed errno=-13
    05-10 20:26:33.837 487-500/system_process I/ActivityManager: Displayed trucki.spas.de.truckiprojekt/.RegisterActivity: +2s393ms
    05-10 20:26:33.907 2453-2464/trucki.spas.de.truckiprojekt D/FirebaseAuth: Notifying id token listeners about user ( ZrGzcvTCJ1cKJstjvtMaSizMhdw1 ).
    05-10 20:26:34.167 487-497/system_process W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1123 com.android.server.InputMethodManagerService.showCurrentInputLocked:1791 com.android.server.InputMethodManagerService.attachNewInputLocked:1095 com.android.server.InputMethodManagerService.startInputUncheckedLocked:1166 com.android.server.InputMethodManagerService.windowGainedFocus:1981
    05-10 20:26:34.237 487-497/system_process W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1123 com.android.server.InputMethodManagerService.showCurrentInputLocked:1791 com.android.server.InputMethodManagerService.windowGainedFocus:1985 com.android.internal.view.IInputMethodManager$Stub.onTransact:221 com.android.server.InputMethodManagerService.onTransact:818
    05-10 20:26:34.267 2453-2470/trucki.spas.de.truckiprojekt D/FA: Connected to remote service
    05-10 20:26:34.647 2453-2453/trucki.spas.de.truckiprojekt D/FirebaseApp: Notifying auth state listeners.
        Notified 0 auth state listeners.
    05-10 20:26:34.677 487-1822/system_process I/ActivityManager: START u0 {flg=0x4000000 cmp=trucki.spas.de.truckiprojekt/.MainActivity} from pid 2453
    05-10 20:26:34.697 2453-2470/trucki.spas.de.truckiprojekt D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=1793, firebase_screen_class(_sc)=RegisterActivity, firebase_screen_id(_si)=5089355942446802282}]
    05-10 20:26:35.097 2453-2453/trucki.spas.de.truckiprojekt W/EGL_emulation: eglSurfaceAttrib not implemented
    05-10 20:26:35.107 487-1681/system_process W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1123 com.android.server.InputMethodManagerService.hideCurrentInputLocked:1880 com.android.server.InputMethodManagerService.windowGainedFocus:1968 com.android.internal.view.IInputMethodManager$Stub.onTransact:221 com.android.server.InputMethodManagerService.onTransact:818
    05-10 20:26:35.117 2453-2470/trucki.spas.de.truckiprojekt D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=RegisterActivity, firebase_previous_id(_pi)=5089355942446802282, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=5089355942446802283}]
    05-10 20:26:35.187 487-500/system_process I/ActivityManager: Displayed trucki.spas.de.truckiprojekt/.MainActivity: +514ms
    05-10 20:26:35.937 2453-2453/trucki.spas.de.truckiprojekt W/MessengerIpcClient: Invalid interface descriptor: com.google.android.gms.iid.IMessengerCompat
    05-10 20:26:35.937 2453-2469/trucki.spas.de.truckiprojekt E/FirebaseInstanceId: Token retrieval failed: SERVICE_NOT_AVAILABLE
    05-10 20:26:36.427 2491-2491/? D/AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
    05-10 20:26:36.617 2491-2491/? D/AndroidRuntime: CheckJNI is OFF
    05-10 20:26:36.617 2491-2491/? D/dalvikvm: Using executionMode 2
    05-10 20:26:36.677 2491-2491/? D/dalvikvm: Trying to load lib libjavacore.so 0x0
        Added shared lib libjavacore.so 0x0
        Trying to load lib libnativehelper.so 0x0
        Added shared lib libnativehelper.so 0x0
        No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
    05-10 20:26:36.697 2491-2491/? D/dalvikvm: Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
    05-10 20:26:36.747 2491-2491/? E/memtrack: Couldn't load memtrack module (No such file or directory)
    05-10 20:26:36.747 2491-2491/? E/android.os.Debug: failed to load memtrack module: -2
    05-10 20:26:36.777 2491-2491/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
    05-10 20:26:36.777 487-534/system_process W/NetworkManagementSocketTagger: setKernelCountSet(10041, 0) failed with errno -13
    05-10 20:26:36.777 487-1823/system_process I/ActivityManager: Force stopping trucki.spas.de.truckiprojekt appid=10041 user=0: from pid 2491
        Killing 2453:trucki.spas.de.truckiprojekt/u0a41 (adj 0): stop trucki.spas.de.truckiprojekt
    05-10 20:26:36.777 487-1823/system_process W/ActivityManager: Force removing ActivityRecord{4a996994 u0 trucki.spas.de.truckiprojekt/.MainActivity t5}: app died, no saved state
    05-10 20:26:36.777 487-1823/system_process I/ActivityManager:   Force finishing activity ActivityRecord{4aa75598 u0 trucki.spas.de.truckiprojekt/.StartActivity t5}
    05-10 20:26:36.787 2502-2502/? D/dalvikvm: Late-enabling CheckJNI
    05-10 20:26:36.787 487-1823/system_process I/ActivityManager: Start proc trucki.spas.de.truckiprojekt for activity trucki.spas.de.truckiprojekt/.RegisterActivity: pid=2502 uid=10041 gids={50041, 3003}
          Force finishing activity ActivityRecord{4a9865b4 u0 trucki.spas.de.truckiprojekt/.RegisterActivity t5}
    05-10 20:26:36.797 487-500/system_process W/WindowManager: view not successfully added to wm, removing view
    05-10 20:26:36.837 703-703/com.vphone.launcher D/FirebaseApp: Notifying background state change listeners.
    05-10 20:26:36.867 2491-2491/? D/AndroidRuntime: Shutting down VM
    05-10 20:26:36.867 2491-2500/? D/jdwp: Got wake-up signal, bailing out of select
    05-10 20:26:36.867 2491-2500/? D/dalvikvm: Debugger has detached; object registry had 1 entries
    05-10 20:26:36.987 703-703/com.vphone.launcher W/EGL_emulation: eglSurfaceAttrib not implemented
    05-10 20:26:37.087 2502-2508/trucki.spas.de.truckiprojekt I/AndroidRuntime: VM exiting with result code 1, cleanup skipped.
    05-10 20:26:37.307 487-527/system_process W/InputDispatcher: channel '4aae5138 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.StartActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
    05-10 20:26:37.307 487-527/system_process E/InputDispatcher: channel '4aae5138 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.StartActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-10 20:26:37.307 487-527/system_process W/InputDispatcher: channel '4aa227e8 Toast (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
    05-10 20:26:37.307 487-527/system_process E/InputDispatcher: channel '4aa227e8 Toast (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-10 20:26:37.307 487-527/system_process W/InputDispatcher: channel '4aa0d0f0 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.StartActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
    05-10 20:26:37.307 487-527/system_process E/InputDispatcher: channel '4aa0d0f0 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.StartActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-10 20:26:37.307 487-527/system_process W/InputDispatcher: channel '4aa1462c trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.RegisterActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
    05-10 20:26:37.307 487-527/system_process E/InputDispatcher: channel '4aa1462c trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.RegisterActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-10 20:26:37.327 487-1682/system_process W/InputDispatcher: Attempted to unregister already unregistered input channel '4aae5138 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.StartActivity (server)'
    05-10 20:26:37.327 487-1662/system_process W/InputDispatcher: Attempted to unregister already unregistered input channel '4aa1462c trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.RegisterActivity (server)'
    05-10 20:26:37.327 487-1682/system_process I/WindowState: WIN DEATH: Window{4aae5138 u0 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.StartActivity}
    05-10 20:26:37.327 487-1662/system_process I/WindowState: WIN DEATH: Window{4aa1462c u0 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.RegisterActivity}
    05-10 20:26:37.347 487-527/system_process W/InputDispatcher: channel '4aa22bc0 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
    05-10 20:26:37.347 487-527/system_process E/InputDispatcher: channel '4aa22bc0 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    05-10 20:26:37.347 487-649/system_process W/InputDispatcher: Attempted to unregister already unregistered input channel '4aa22bc0 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.MainActivity (server)'
    05-10 20:26:37.347 487-649/system_process I/WindowState: WIN DEATH: Window{4aa22bc0 u0 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.MainActivity}
    05-10 20:26:37.357 487-1822/system_process W/InputDispatcher: Attempted to unregister already unregistered input channel '4aa0d0f0 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.StartActivity (server)'
    05-10 20:26:37.357 487-498/system_process W/InputDispatcher: Attempted to unregister already unregistered input channel '4aa227e8 Toast (server)'
    05-10 20:26:37.357 487-1822/system_process I/WindowState: WIN DEATH: Window{4aa0d0f0 u0 trucki.spas.de.truckiprojekt/trucki.spas.de.truckiprojekt.StartActivity}
    05-10 20:26:37.357 487-498/system_process I/WindowState: WIN DEATH: Window{4aa227e8 u0 Toast}
    05-10 20:26:37.387 676-686/com.example.android.softkeyboard W/Binder: Caught a RuntimeException from the binder stub implementation.
        java.lang.NullPointerException
            at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
            at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
            at android.os.Binder.execTransact(Binder.java:404)
            at dalvik.system.NativeStart.run(Native Method)
    05-10 20:26:37.387 487-1684/system_process W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1123 com.android.server.InputMethodManagerService.hideCurrentInputLocked:1880 com.android.server.InputMethodManagerService.windowGainedFocus:1968 com.android.internal.view.IInputMethodManager$Stub.onTransact:221 com.android.server.InputMethodManagerService.onTransact:818
    05-10 20:26:37.387 487-1684/system_process W/InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 2453 uid 10041
    05-10 20:26:37.407 703-928/com.vphone.launcher I/qtaguid: Tagging socket 58 with tag 1b8a7d1b00000000(462060827) for uid -1 failed errno=-13
    05-10 20:26:37.407 703-928/com.vphone.launcher I/NetworkManagementSocketTagger: tagSocketFd(58, 462060827, -1) failed with errno-13
    05-10 20:26:37.407 156-156/? D/Zygote: Process 2502 exited cleanly (1)
    05-10 20:26:37.407 487-1823/system_process I/ActivityManager: Process trucki.spas.de.truckiprojekt (pid 2502) has died.
    05-10 20:26:37.947 703-928/com.vphone.launcher I/qtaguid: Tagging socket 108 with tag 1b8a7d1b00000000(462060827) for uid -1 failed errno=-13
    05-10 20:26:37.947 703-928/com.vphone.launcher I/NetworkManagementSocketTagger: tagSocketFd(108, 462060827, -1) failed with errno-13
    05-10 20:26:38.177 487-487/system_process W/NotificationService: Object died trying to hide notification android.app.ITransientNotification$Stub$Proxy@4aa33998 in package trucki.spas.de.truckiprojekt
    05-10 20:26:57.797 976-2527/com.google.android.gms.persistent I/AsyncOpDispatcher: 35-GetDeviceDataUploadOptInStatusOperation
    05-10 20:26:57.857 976-2527/com.google.android.gms.persistent D/dalvikvm: GC_FOR_ALLOC freed 1628K, 24% free 7626K/9980K, paused 30ms, total 31ms
    05-10 20:27:17.137 1341-2063/com.android.vending I/PlayCommon: [117] com.google.android.play.b.h.e(263): Preparing logs for uploading
        [117] com.google.android.play.b.h.e(267): No file ready to send
    05-10 20:27:57.857 976-2528/com.google.android.gms.persistent I/AsyncOpDispatcher: 35-GetDeviceDataUploadOptInStatusOperation
     
     
  3. Robat
    Robat Bekanntes Mitglied
    Als ich dein Code gerade noch mal formatiert habe ist mir der Fehler ins Auge gesprungen. Deswegen immer Klammern setzen.
    Code (Java):

    @Override
       public void onClick(View view) {
          if (view == regBtn)  // <-- Klammer vergessen.
             finish();
          // d.h. das hier wird immer ausgeführt.  
          startActivity(new Intent(this, RegisterActivity.class));

           if (view == loginButton){
               userLogin();
           }
       }
    }
     
     
  4. brilzi89
    brilzi89 Mitglied
    Die Klammern habe ich :/
     

    Anhänge:

  5. Robat
    Robat Bekanntes Mitglied
    Schau dir mal genau das Kommentar an. Du hast die Klammern der 1. if-Abfrage vergessen.
     
  6. brilzi89
    brilzi89 Mitglied
    stimmt ich blind fisch XD vielen vielen dank:) echt super wenn man so kompetente Menschen hat :)
     
    Robat gefällt das.

Die Seite wird geladen...

Probleme mit Firebase Authentication - Ähnliche Themen

Probleme bei rekursiver Zuordnung
Probleme bei rekursiver Zuordnung im Forum Java Basics - Anfänger-Themen
Probleme mit 2 dimensionale Arrays
Probleme mit 2 dimensionale Arrays im Forum Java Basics - Anfänger-Themen
Probleme mit FileProvider
Probleme mit FileProvider im Forum Mobile Geräte
View probleme
View probleme im Forum Java Basics - Anfänger-Themen
Probleme bei der Formatierung beim Einfügen und löschen über DOM
Probleme bei der Formatierung beim Einfügen und löschen über DOM im Forum XML und Co.
Thema: Probleme mit Firebase Authentication