I have integrated Firebase Analytics in my app and enabled logcat. When sending log event, I got these message:
09-16 12:29:52.254 7233-7264 D/FA: Logging event (FE): add_payment_info, Bundle[{achievement_id=112, _o=app}]
09-16 12:29:52.255 7233-7264 V/FA: Using measurement service
09-16 12:29:52.255 7233-7264 V/FA: Connecting to remote service
09-16 12:29:52.259 7233-7264 V/FA: Activity paused, time: 44850636
09-16 12:29:52.282 7233-7264 D/FA: Connected to remote service
09-16 12:29:52.282 7233-7264 V/FA: Processing queued up service tasks: 1
09-16 12:29:53.259 7233-7264 D/FA: Application backgrounded. Logging engagement
09-16 12:29:53.263 7233-7264 D/FA: Logging event (FE): _e, Bundle[{_o=auto, _et=1853}]
09-16 12:29:58.271 7233-7264 V/FA: Inactivity, disconnecting from AppMeasurementService
According to this question: Firbase analytics are not apearing in the dashboard, I think this line "Logging event (FE): _e, Bundle[{_o=auto, _et=1853}]" means the event is not logged successfully. How to make it work? Thanks.
To close this question: this is not an error log. A few hours after deploying, the log info showed up.
Related
I have developed an android app using android studio and it was running well until I made several layout changes. When I download my app on any android phone, it causes the phone's UI to stop working. If my app is not installed, the phone works perfectly fine.I checked the log and there seemed to be no error. Are there any reasons as to why an app may cause such a crash?
Also, the app displays this message when the Overview softkey is pressed
Thanks in advance:)
Log
[ 04-25 10:18:47.942 1621: 1867 W/ ]
Unrecognized GLES
max version string in extensions: ANDROID_EMU_CHECKSUM_HELPER_v1
ANDROID_EMU_dma_v1
04-25 10:18:48.013 2897-2918/com.securitytechno2018 V/FA: Cancelling job. JobID: 2074818501
04-25 10:18:48.017 2897-2918/com.securitytechno2018 V/FA: Scheduling upload with JobScheduler
04-25 10:18:48.018 2897-2918/com.securitytechno2018 V/FA: Scheduling job. JobID: 2074818501
04-25 10:18:48.039 2897-2918/com.securitytechno2018 V/FA: Background event processing time, ms: 151
04-25 10:18:48.388 2897-2897/com.securitytechno2018 W/IInputConnectionWrapper: reportFullscreenMode on inexistent InputConnection
04-25 10:18:48.389 2897-2897/com.securitytechno2018 W/IInputConnectionWrapper: finishComposingText on inactive InputConnection
04-25 10:18:52.913 2897-2918/com.securitytechno2018 V/FA: Inactivity, disconnecting from the service
04-25 10:18:52.915 2897-2897/com.securitytechno2018 V/FA: onUnbind called for intent. action: com.google.android.gms.measurement.START
04-25 10:18:52.916 2897-2897/com.securitytechno2018 V/FA: Local AppMeasurementService is shutting down
04-25 10:19:23.118 2897-2970/com.securitytechno2018 V/FA: Using local app measurement service
04-25 10:19:23.129 2897-2970/com.securitytechno2018 V/FA: Activity resumed, time: 529158
04-25 10:19:23.371 2897-2897/com.securitytechno2018 V/FA: Local AppMeasurementService is starting up
04-25 10:19:23.532 2897-2897/com.securitytechno2018 V/FA: Bound to IMeasurementService interface
04-25 10:19:23.532 2897-2970/com.securitytechno2018 V/FA: Connected to service
04-25 10:19:23.534 2897-2970/com.securitytechno2018 V/FA: Processing queued up service tasks: 1
04-25 10:19:28.535 2897-2970/com.securitytechno2018 V/FA: Inactivity, disconnecting from the service
04-25 10:19:28.536 2897-2897/com.securitytechno2018 V/FA: onUnbind called for intent. action: com.google.android.gms.measurement.START
04-25 10:19:28.536 2897-2897/com.securitytechno2018 V/FA: Local AppMeasurementService is shutting down
04-25 10:19:32.882 2897-2897/com.securitytechno2018 W/IInputConnectionWrapper: finishComposingText on inactive InputConnection
04-25 10:19:46.346 2972-2989/com.securitytechno2018 E/FirebaseInstanceId: Google Play services missing or without correct permission.
04-25 10:19:46.403 2972-2972/com.securitytechno2018 V/FA: Cancelling job. JobID: 2074818501
04-25 10:19:46.408 2972-2972/com.securitytechno2018 V/FA: Registered activity lifecycle callback
04-25 10:19:46.435 2972-2993/com.securitytechno2018 V/FA: Collection enabled
04-25 10:19:46.435 2972-2993/com.securitytechno2018 V/FA: App package, google app id: com.securitytechno2018, 1:702727695830:android:1ac1b0e480da2fe9
04-25 10:19:46.439 2972-2993/com.securitytechno2018 I/FA: App measurement is starting up, version: 11910
04-25 10:19:46.439 2972-2993/com.securitytechno2018 I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
04-25 10:19:46.440 2972-2993/com.securitytechno2018 I/FA: To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app com.securitytechno2018
04-25 10:19:46.440 2972-2993/com.securitytechno2018 D/FA: Debug-level message logging enabled
04-25 10:19:46.463 2972-2993/com.securitytechno2018 V/FA: Checking service availability
04-25 10:19:46.466 2972-2993/com.securitytechno2018 W/FA: Service invalid
04-25 10:19:46.468 2972-2993/com.securitytechno2018 V/FA: Using local app measurement service
04-25 10:19:46.477 2972-2993/com.securitytechno2018 V/FA: Connection attempt already in progress
04-25 10:19:46.477 2972-2972/com.securitytechno2018 V/FA: onActivityCreated
04-25 10:19:47.220 2972-2993/com.securitytechno2018 V/FA: Connection attempt already in progress
04-25 10:19:47.222 2972-2993/com.securitytechno2018 V/FA: Activity resumed, time: 553266
04-25 10:19:47.231 2972-2972/com.securitytechno2018 V/FA: Local AppMeasurementService is starting up
04-25 10:19:47.246 2972-2993/com.securitytechno2018 D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_screen_class(_sc)=SplashScreen, firebase_screen_id(_si)=3593885112120958867}]
04-25 10:19:47.263 2972-2972/com.securitytechno2018 V/FA: Bound to IMeasurementService interface
04-25 10:19:47.280 2972-2993/com.securitytechno2018 V/FA: Connection attempt already in progress
04-25 10:19:47.281 2972-2993/com.securitytechno2018 V/FA: Connected to service
04-25 10:19:47.281 2972-2993/com.securitytechno2018 V/FA: Processing queued up service tasks: 4
04-25 10:19:47.285 2972-2993/com.securitytechno2018 I/FA: This instance being marked as an uploader
04-25 10:19:47.327 2972-2993/com.securitytechno2018 V/FA: Upload scheduled in approximately ms: 3163502
[ 04-25 10:19:47.329 2972: 2972 D/ ]
HostConnection::get() New Host Connection established 0xa4bf5fc0, tid 2972
04-25 10:19:47.332 2972-2993/com.securitytechno2018 V/FA: Cancelling job. JobID: 2074818501
04-25 10:19:47.333 2972-2993/com.securitytechno2018 V/FA: Scheduling upload with JobScheduler
04-25 10:19:47.333 2972-2993/com.securitytechno2018 V/FA: Scheduling job. JobID: 2074818501
04-25 10:19:47.342 2972-2993/com.securitytechno2018 V/FA: Parsed config. version, gmp_app_id: 1520959753892242, 1:702727695830:android:1ac1b0e480da2fe9
04-25 10:19:47.345 2972-2993/com.securitytechno2018 D/FA: Unable to get advertising id: com.google.android.gms.common.GooglePlayServicesNotAvailableException: com.google.android.gms.internal.zzchx.zzjm(Unknown Source)
04-25 10:19:47.365 2972-2993/com.securitytechno2018 W/FA: Callable skipped the worker queue.
04-25 10:19:47.375 2972-2993/com.securitytechno2018 V/FA: Logging event: origin=auto,name=screen_view(_vs),params=Bundle[{firebase_event_origin(_o)=auto, firebase_screen_class(_sc)=SplashScreen, firebase_screen_id(_si)=3593885112120958867}]
04-25 10:19:47.389 2972-2993/com.securitytechno2018 V/FA: Saving event, name, data size: screen_view(_vs), 57
04-25 10:19:47.390 2972-2993/com.securitytechno2018 V/FA: Event recorded: Event{appId='com.securitytechno2018', name='screen_view(_vs)', params=Bundle[{firebase_event_origin(_o)=auto, firebase_screen_class(_sc)=SplashScreen, firebase_screen_id(_si)=3593885112120958867}]}
04-25 10:19:47.394 2972-2993/com.securitytechno2018 V/FA: Upload scheduled in approximately ms: 3163435
04-25 10:19:47.397 2972-2993/com.securitytechno2018 V/FA: Cancelling job. JobID: 2074818501
04-25 10:19:47.398 2972-2993/com.securitytechno2018 V/FA: Scheduling upload with JobScheduler
04-25 10:19:47.399 2972-2993/com.securitytechno2018 V/FA: Scheduling job. JobID: 2074818501
04-25 10:19:47.400 2972-2993/com.securitytechno2018 V/FA: Background event processing time, ms: 25
[ 04-25 10:19:47.408 2972: 2972 W/ ]
Unrecognized GLES max version string in extensions: ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1
04-25 10:19:48.251 2972-2993/com.securitytechno2018 V/FA: Recording user engagement, ms: 1019
04-25 10:19:48.256 2972-2993/com.securitytechno2018 V/FA: Activity paused, time: 554281
04-25 10:19:48.256 2972-2972/com.securitytechno2018 V/FA: onActivityCreated
04-25 10:19:48.262 2972-2993/com.securitytechno2018 D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=1019, firebase_screen_class(_sc)=SplashScreen, firebase_screen_id(_si)=3593885112120958867}]
04-25 10:19:48.361 2972-2993/com.securitytechno2018 V/FA: Logging event: origin=auto,name=user_engagement(_e),params=Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=1019, firebase_screen_class(_sc)=SplashScreen, firebase_screen_id(_si)=3593885112120958867}]
04-25 10:19:48.480 2972-2993/com.securitytechno2018 V/FA: Saving event, name, data size: user_engagement(_e), 67
04-25 10:19:48.481 2972-2993/com.securitytechno2018 V/FA: Event recorded: Event{appId='com.securitytechno2018', name='user_engagement(_e)', params=Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=1019, firebase_screen_class(_sc)=SplashScreen, firebase_screen_id(_si)=3593885112120958867}]}
04-25 10:19:48.495 2972-2993/com.securitytechno2018 V/FA: Upload scheduled in approximately ms: 3162334
04-25 10:19:48.511 2972-2993/com.securitytechno2018 V/FA: Cancelling job. JobID: 2074818501
04-25 10:19:48.514 2972-2993/com.securitytechno2018 V/FA: Scheduling upload with JobScheduler
04-25 10:19:48.514 2972-2993/com.securitytechno2018 V/FA: Scheduling job. JobID: 2074818501
04-25 10:19:48.521 2972-2993/com.securitytechno2018 V/FA: Background event processing time, ms: 160
04-25 10:19:48.831 2972-2993/com.securitytechno2018 V/FA: Activity resumed, time: 554878
04-25 10:19:48.833 2972-2993/com.securitytechno2018 D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=SplashScreen, firebase_previous_id(_pi)=3593885112120958867, firebase_screen_class(_sc)=RegisterActivity, firebase_screen_id(_si)=3593885112120958868}]
04-25 10:19:48.852 2972-2993/com.securitytechno2018 V/FA: Logging event: origin=auto,name=screen_view(_vs),params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=SplashScreen, firebase_previous_id(_pi)=3593885112120958867, firebase_screen_class(_sc)=RegisterActivity, firebase_screen_id(_si)=3593885112120958868}]
04-25 10:19:48.864 2972-2993/com.securitytechno2018 V/FA: Saving event, name, data size: screen_view(_vs), 99
04-25 10:19:48.865 2972-2993/com.securitytechno2018 V/FA: Event recorded: Event{appId='com.securitytechno2018', name='screen_view(_vs)', params=Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=SplashScreen, firebase_previous_id(_pi)=3593885112120958867, firebase_screen_class(_sc)=RegisterActivity, firebase_screen_id(_si)=3593885112120958868}]}
04-25 10:19:48.867 2972-2993/com.securitytechno2018 V/FA: Upload scheduled in approximately ms: 3161962
04-25 10:19:48.870 2972-2993/com.securitytechno2018 V/FA: Cancelling job. JobID: 2074818501
04-25 10:19:48.871 2972-2993/com.securitytechno2018 V/FA: Scheduling upload with JobScheduler
04-25 10:19:48.872 2972-2993/com.securitytechno2018 V/FA: Scheduling job. JobID: 2074818501
04-25 10:19:48.875 2972-2993/com.securitytechno2018 V/FA: Background event processing time, ms: 23
04-25 10:19:53.853 2972-2993/com.securitytechno2018 V/FA: Inactivity, disconnecting from the service
04-25 10:19:53.855 2972-2972/com.securitytechno2018 V/FA: onUnbind called for intent. action: com.google.android.gms.measurement.START
04-25 10:19:53.855 2972-2972/com.securitytechno2018 V/FA: Local AppMeasurementService is shutting down
This might be due to new changes you have applied to your application is not compatible with your current API level... try updating all the library and API-level of your application ... and check which library is causing an issue ...
My app gets launched but does not reopen. It shows the following error in my logcat -
myapplicationfirebase V/FA: onActivityCreated myapplicationfirebase
E/ANDR-PERF-JNI: IPerf::tryGetService failed!
myapplicationfirebase D/FA: Connected to remote service
myapplicationfirebase V/FA: Processing queued up service tasks: 2
myapplicationfirebase V/FA: Inactivity, disconnecting from the service
.myapplicationfirebase W/DynamiteModule: Local module descriptor
class for com.google.firebase.auth not found.
I am new to android development. i am trying to develop a college app, through that the admin will register users in firebase. the code is not showing any error but as i am clicking the register button the app is restarting. Help me please.
Thankyou in advance
here is my code
package com.example.abhisek.abacollege;
import android.app.ProgressDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
public class AdminLayout extends AppCompatActivity {
private EditText SID;
private EditText SPass;
private Button AReg;
private Prog`enter code here`ressDialog progressDialog;
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_admin_layout);
final DatabaseReference mRootRef = FirebaseDatabase.getInstance().getReferenceFromUrl("https://abacollege-2730a.firebaseio.com/STUDENTS");
progressDialog = new ProgressDialog(this);
SID = (EditText) findViewById(R.id.StID);
SPass = (EditText) findViewById(R.id.StPass);
AReg = (Button) findViewById(R.id.StRegBtn);
AReg.setOnClickListener(new View.OnClickListener() {
#Override
public void onClick(View v) {
String ID = SID.getText().toString();
String Pass = SPass.getText().toString();
DatabaseReference childRef = mRootRef.child(ID);
childRef.setValue(Pass);
}
});
}
my build gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.example.abhisek.abacollege"
minSdkVersion 19
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.0.0-beta1'
implementation 'com.android.support:design:26.0.0-beta1'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:support-v4:26.1.0'
implementation 'com.google.android.gms:play-services-auth:11.8.0'
implementation 'com.google.firebase:firebase-messaging:11.8.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:0.5'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
compile 'com.google.firebase:firebase-database:11.8.0'
compile 'com.google.firebase:firebase-crash:11.8.0'
compile 'com.google.firebase:firebase-auth:11.8.0'
}
apply plugin: 'com.google.gms.google-services'
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '25.3.0'
}
}
}
}
help me please i really need it.. thank you again
CORRECTION
my log cat
03-09 21:19:00.205 2570-2629/com.example.abhisek.abacollege I/FA: Tag Manager is not found and thus will not be used
03-09 21:19:00.282 2570-2629/com.example.abhisek.abacollege D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-1484019674178325915}]
03-09 21:19:01.162 2570-2629/com.example.abhisek.abacollege V/FA: Connecting to remote service
03-09 21:19:01.170 2570-2570/com.example.abhisek.abacollege W/FA: Service connection failed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
03-09 21:19:01.193 2570-2629/com.example.abhisek.abacollege V/FA: Processing queued up service tasks: 4
03-09 21:19:01.193 2570-2629/com.example.abhisek.abacollege E/FA: Discarding data. Failed to send app launch
03-09 21:19:01.194 2570-2629/com.example.abhisek.abacollege E/FA: Failed to get app instance id
03-09 21:19:01.195 2570-2629/com.example.abhisek.abacollege E/FA: Failed to send current screen to service
03-09 21:19:01.202 2570-2629/com.example.abhisek.abacollege E/FA: Discarding data. Failed to send event to service
03-09 21:19:01.214 2570-2629/com.example.abhisek.abacollege V/FA: Processing queued up service tasks: 0
03-09 21:19:11.576 2552-2808/com.google.android.gms I/FA-SVC: App measurement is starting up, version: 11580
03-09 21:19:11.632 2552-2808/com.google.android.gms V/FA-SVC: Collection enabled
03-09 21:19:11.694 2552-2808/com.google.android.gms D/FA-SVC: Debug-level message logging enabled
03-09 21:19:11.815 2552-2808/com.google.android.gms V/FA-SVC: Cancelling job. JobID: 812057698
03-09 21:19:11.916 2552-3368/com.google.android.gms I/FA-SVC: This instance being marked as an uploader
03-09 21:19:11.978 2552-3368/com.google.android.gms V/FA-SVC: Nothing to upload or uploading impossible
03-09 21:19:11.980 2552-3368/com.google.android.gms V/FA-SVC: Cancelling job. JobID: 812057698
03-09 21:19:14.769 2552-3213/com.google.android.gms D/FA-SVC: Got package replaced intent: com.example.abhisek.abacollege
03-09 21:19:15.065 2570-2609/com.example.abhisek.abacollege E/FirebaseInstanceId: Token retrieval failed: AUTHENTICATION_FAILED
03-09 21:19:45.096 2570-2609/com.example.abhisek.abacollege E/FirebaseInstanceId: Token retrieval failed: AUTHENTICATION_FAILED
03-09 21:20:18.939 2570-3753/com.example.abhisek.abacollege V/FA: Recording user engagement, ms: 79212
03-09 21:20:18.941 2570-3753/com.example.abhisek.abacollege V/FA: Connecting to remote service
03-09 21:20:18.955 2570-3753/com.example.abhisek.abacollege V/FA: Activity paused, time: 150300
03-09 21:20:18.976 2570-3753/com.example.abhisek.abacollege D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=79212, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-1484019674178325915}]
03-09 21:20:19.030 2570-2570/com.example.abhisek.abacollege V/FA: onActivityCreated
03-09 21:20:19.345 2570-3753/com.example.abhisek.abacollege V/FA: Connection attempt already in progress
03-09 21:20:19.369 2570-3753/com.example.abhisek.abacollege V/FA: Connection attempt already in progress
03-09 21:20:19.370 2570-3753/com.example.abhisek.abacollege V/FA: Activity resumed, time: 150668
03-09 21:20:19.385 2570-2570/com.example.abhisek.abacollege W/FA: Service connection failed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
03-09 21:20:19.400 2570-3753/com.example.abhisek.abacollege D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=MainActivity, firebase_previous_id(_pi)=-1484019674178325915, firebase_screen_class(_sc)=AdminLogin, firebase_screen_id(_si)=-1484019674178325914}]
03-09 21:20:19.485 2570-3753/com.example.abhisek.abacollege V/FA: Connecting to remote service
03-09 21:20:19.506 2570-3753/com.example.abhisek.abacollege V/FA: Processing queued up service tasks: 4
03-09 21:20:19.519 2570-3753/com.example.abhisek.abacollege E/FA: Failed to send current screen to service
03-09 21:20:19.530 2570-3753/com.example.abhisek.abacollege E/FA: Discarding data. Failed to send event to service
03-09 21:20:19.531 2570-3753/com.example.abhisek.abacollege E/FA: Failed to send current screen to service
03-09 21:20:19.532 2570-3753/com.example.abhisek.abacollege E/FA: Discarding data. Failed to send event to service
03-09 21:20:19.743 2570-2570/com.example.abhisek.abacollege W/FA: Service connection failed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
03-09 21:20:19.759 2570-3753/com.example.abhisek.abacollege V/FA: Processing queued up service tasks: 0
03-09 21:20:20.835 1774-1774/com.google.android.inputmethod.latin W/GInputConnectionWrapper: Fixing selection indices to 0, 0
03-09 21:20:24.650 1774-1774/com.google.android.inputmethod.latin W/GInputConnectionWrapper: Fixing selection indices to 0, 0
03-09 21:20:28.537 2570-3753/com.example.abhisek.abacollege V/FA: Recording user engagement, ms: 9245
03-09 21:20:28.538 2570-3753/com.example.abhisek.abacollege V/FA: Connecting to remote service
03-09 21:20:28.542 2570-3753/com.example.abhisek.abacollege V/FA: Activity paused, time: 159912
03-09 21:20:28.551 2570-3753/com.example.abhisek.abacollege D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=9245, firebase_screen_class(_sc)=AdminLogin, firebase_screen_id(_si)=-1484019674178325914}]
03-09 21:20:28.569 2570-2570/com.example.abhisek.abacollege W/FA: Service connection failed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
03-09 21:20:28.592 2570-3753/com.example.abhisek.abacollege V/FA: Connecting to remote service
03-09 21:20:28.600 2570-3753/com.example.abhisek.abacollege V/FA: Processing queued up service tasks: 2
03-09 21:20:28.600 2570-3753/com.example.abhisek.abacollege E/FA: Failed to send current screen to service
03-09 21:20:28.601 2570-3753/com.example.abhisek.abacollege E/FA: Discarding data. Failed to send event to service
03-09 21:20:28.615 2570-2570/com.example.abhisek.abacollege V/FA: onActivityCreated
03-09 21:20:28.839 2570-3753/com.example.abhisek.abacollege V/FA: Connection attempt already in progress
03-09 21:20:28.839 2570-3753/com.example.abhisek.abacollege V/FA: Activity resumed, time: 160204
03-09 21:20:29.027 2570-3753/com.example.abhisek.abacollege D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=AdminLogin, firebase_previous_id(_pi)=-1484019674178325914, firebase_screen_class(_sc)=AdminLayout, firebase_screen_id(_si)=-1484019674178325913}]
03-09 21:20:29.063 2570-2570/com.example.abhisek.abacollege W/FA: Service connection failed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
03-09 21:20:29.215 2570-3753/com.example.abhisek.abacollege V/FA: Connecting to remote service
03-09 21:20:29.237 2570-3753/com.example.abhisek.abacollege V/FA: Processing queued up service tasks: 2
03-09 21:20:29.238 2570-3753/com.example.abhisek.abacollege E/FA: Failed to send current screen to service
03-09 21:20:29.239 2570-3753/com.example.abhisek.abacollege E/FA: Discarding data. Failed to send event to service
03-09 21:20:29.477 2570-2570/com.example.abhisek.abacollege W/FA: Service connection failed: ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null, message=null}
03-09 21:20:29.494 2570-3753/com.example.abhisek.abacollege V/FA: Processing queued up service tasks: 0
03-09 21:20:30.142 1774-1774/com.google.android.inputmethod.latin W/GInputConnectionWrapper: Fixing selection indices to 0, 0
03-09 21:20:34.170 2552-2564/com.google.android.gms W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/com.google.android.gms/databases/networkstatistics.sqlite' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
03-09 21:20:36.380 1774-1774/com.google.android.inputmethod.latin W/GInputConnectionWrapper: Fixing selection indices to 0, 0
03-09 21:20:40.580 2570-3753/com.example.abhisek.abacollege D/FA: Logging event (FE): app_exception(_ae), Bundle[{firebase_event_origin(_o)=crash, firebase_screen_class(_sc)=AdminLayout, firebase_screen_id(_si)=-1484019674178325913, timestamp=1520610640567, fatal=1}]
03-09 21:20:40.621 2570-3753/com.example.abhisek.abacollege V/FA: Connecting to remote service
03-09 21:20:40.625 2570-3753/com.example.abhisek.abacollege V/FA: Recording user engagement, ms: 11798
03-09 21:20:40.633 2570-3753/com.example.abhisek.abacollege D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=11798, firebase_screen_class(_sc)=AdminLayout, firebase_screen_id(_si)=-1484019674178325913}]
03-09 21:20:40.664 2570-3753/com.example.abhisek.abacollege V/FA: Connection attempt already in progress
You are creating two references, but you can simply do this
inside your onClick
mRootRef.child(ID).setValue(Pass);
Make sure that in your rules in firebase you have them set to true if you are not logged in or authenticated
I'm creating an app that requires me to read from a fire base database and this value to alter layouts. I've tried using the 'help' from android studio but when I run the program it crashes. The photo I've attached is the 'help' not as code because it crashed the program and I wanted it work basically. So can anyone advise an easier method of reading from the database?
Thanks
12-04 11:38:44.004 3524-3524/com.example.jopayne1968.points4spending I/FA: App measurement is starting up, version: 11020
12-04 11:38:44.004 3524-3524/com.example.jopayne1968.points4spending I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
12-04 11:38:44.034 3524-3524/com.example.jopayne1968.points4spending V/FA: Collection enabled
12-04 11:38:44.034 3524-3524/com.example.jopayne1968.points4spending V/FA: App package, google app id: com.example.jopayne1968.points4spending, 1:723788589244:android:e3ad2acca46870b3
12-04 11:38:44.034 3524-3524/com.example.jopayne1968.points4spending I/FA: To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app com.example.jopayne1968.points4spending
12-04 11:38:44.034 3524-3524/com.example.jopayne1968.points4spending D/FA: Debug-level message logging enabled
12-04 11:38:44.104 3524-3524/com.example.jopayne1968.points4spending V/FA: Registered activity lifecycle callback
12-04 11:38:44.114 3524-3630/com.example.jopayne1968.points4spending V/FA: Using measurement service
12-04 11:38:44.114 3524-3630/com.example.jopayne1968.points4spending V/FA: Connecting to remote service
12-04 11:38:44.114 3524-3630/com.example.jopayne1968.points4spending V/FA: Connection attempt already in progress
12-04 11:38:44.264 3524-3524/com.example.jopayne1968.points4spending V/FA: onActivityCreated
12-04 11:38:44.514 3524-3630/com.example.jopayne1968.points4spending V/FA: Using measurement service
12-04 11:38:44.514 3524-3630/com.example.jopayne1968.points4spending V/FA: Connection attempt already in progress
12-04 11:38:44.514 3524-3630/com.example.jopayne1968.points4spending V/FA: Activity resumed, time: 60750091
12-04 11:38:44.514 3524-3630/com.example.jopayne1968.points4spending I/FA: Tag Manager is not found and thus will not be used
12-04 11:38:44.514 3524-3630/com.example.jopayne1968.points4spending D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_screen_class(_sc)=SignUpActivity, firebase_screen_id(_si)=531904640859358265}]
12-04 11:38:44.544 3524-3630/com.example.jopayne1968.points4spending V/FA: Using measurement service
12-04 11:38:44.544 3524-3630/com.example.jopayne1968.points4spending V/FA: Connection attempt already in progress
12-04 11:38:44.744 3524-3630/com.example.jopayne1968.points4spending D/FA: Connected to remote service
12-04 11:38:44.744 3524-3630/com.example.jopayne1968.points4spending V/FA: Processing queued up service tasks: 4
12-04 11:38:44.794 3422-2815/? V/FA-SVC: Logging event: origin=auto,name=screen_view(_vs),params=Bundle[{firebase_event_origin(_o)=auto, firebase_screen_class(_sc)=SignUpActivity, firebase_screen_id(_si)=531904640859358265}]
12-04 11:38:44.804 3422-2815/? V/FA-SVC: Saving event, name, data size: screen_view(_vs), 59
12-04 11:38:44.804 3422-2815/? V/FA-SVC: Event recorded: Event{appId='com.example.jopayne1968.points4spending', name='screen_view(_vs)', params=Bundle[{firebase_event_origin(_o)=auto, firebase_screen_class(_sc)=SignUpActivity, firebase_screen_id(_si)=531904640859358265}]}
12-04 11:38:44.814 3422-2815/? V/FA-SVC: Upload scheduled in approximately ms: 3418911
12-04 11:38:44.814 3422-2815/? V/FA-SVC: Scheduling upload with GcmTaskService
12-04 11:38:44.814 3422-2815/? V/FA-SVC: Scheduling task with Gcm. Time3418911
12-04 11:38:44.824 3422-2815/? V/FA-SVC: Background event processing time, ms: 28
12-04 11:38:49.854 3524-3630/com.example.jopayne1968.points4spending V/FA: Inactivity, disconnecting from the service
I am trying to integrate Firebase analytics and Google tag manager into my Android app. I have configured some tags and triggers over my GTM console. But i see the following error in my debug console in Android studio. What i am trying to achieve is send my events to both Firebase analytics, GTM and then push the same event to Google analytics using Google tag manager. My events are successfully pushed to Firebase analytics, but not to Google analytics.
Firebase event tracking:
Bundle params = new Bundle();
params.putString("screen_name", "Main activity");
mFirebaseAnalytics.logEvent("screenview", params);
Debug log:
04-06 21:27:19.701 14388-23135/com.droidowl.googletagmanager V/FA: Activity resumed, time: 1495667
04-06 21:27:21.098 14388-23135/com.droidowl.googletagmanager D/FA: Passing event to registered event handler (FE): screenview, Bundle[{screen_name=Main activity}]
04-06 21:27:21.103 14388-14829/com.droidowl.googletagmanager D/FA: Fetching user attributes (FE)
04-06 21:27:21.109 14388-23135/com.droidowl.googletagmanager V/FA: Using measurement service
04-06 21:27:21.109 14388-23135/com.droidowl.googletagmanager V/FA: Connecting to remote service
04-06 21:27:21.157 14388-23135/com.droidowl.googletagmanager D/FA: Connected to remote service
04-06 21:27:21.158 14388-23135/com.droidowl.googletagmanager V/FA: Processing queued up service tasks: 1
04-06 21:27:21.170 14388-14829/com.droidowl.googletagmanager W/GoogleTagManager: No user property available for "item_id" and no default value was defined. Returning "undefined".
04-06 21:27:21.174 14388-14829/com.droidowl.googletagmanager W/GoogleTagManager: No user property available for "item_id" and no default value was defined. Returning "undefined".
04-06 21:27:21.179 14388-23135/com.droidowl.googletagmanager D/FA: Logging event (FE): screenview, Bundle[{screen_name=Main activity, _o=app+gtm}]
04-06 21:27:26.190 14388-23135/com.droidowl.googletagmanager V/FA: Inactivity, disconnecting from AppMeasurementService
Play services version: 9.4.0