B4A Library Crashlytics - crash reports

Discussion in 'Additional libraries, classes and official updates' started by Erel, Dec 21, 2017.

  1. Erel

    Erel Administrator Staff Member Licensed User

    Crashlytics is a crash reporting service similar to FirebaseCrash. It is part of Firebase services and it will probably replace FirebaseCrash at some point.
    It requires B4A v7.8+.

    [​IMG]

    The following instructions explain how to use this service:

    1. Open B4A Sdk Manager and install all Crashlytics components and io.fabric.sdk.*:

    [​IMG]

    2. Follow firebase integration instructions: https://www.b4x.com/android/forum/threads/integrating-firebase-services.67692/#content

    3. Add to manifest editor:
    Code:
    AddApplicationText(
     <provider
                android:name=
    "com.crashlytics.android.CrashlyticsInitProvider"
                android:authorities=
    "$PACKAGE$.crashlyticsinitprovider"
                android:exported=
    "false"
                android:initOrder=
    "100" />
               )
              
    CreateResource(values, com_crashlytics_build_id.xml,
    <resources xmlns:tools=
    "http://schemas.android.com/tools">
    <
    string tools:ignore="UnusedResources,,TypographyDashes" name="com.crashlytics.android.build_id"
       translatable=
    "false">cc7c8eddb7024f38a1b4491ef214b8f7</string>
    </resources>)
    The long GUID id should be changed whenever you make a new release. It uniquely identifies the build.
    You can change one or more of the hex digits.

    4. Add to main activity:
    Code:
    #AdditionalJar: com.crashlytics.sdk.android:crashlytics
    #AdditionalJar: com.google.firebase:firebase-core
    5. Add the attached class to your project and initialize it from the starter service:
    Code:
    'starter service
    Sub Process_Globals
       
    Public CL As Crashlytics
    End Sub

    Sub Service_Create
       
    Dim context As JavaObject 'depends on JavaObject
       context.InitializeContext
       CL.Initialize(context)
    End Sub
    6. Test it:
    Code:
    Sub Activity_Click
       Starter.CL.CLog(
    "log message...")
       
    Dim i As Int = "sdkljkljkljfsdf"
    End Sub
    Note that logs are only sent in Release mode.

    The reports should appear after a few minutes in Firebase.
     

    Attached Files:

    Last edited: Dec 24, 2017
    stingrae, Croïd, walterf25 and 15 others like this.
  2. MAGAREY

    MAGAREY Member Licensed User

    Is someone else experiencing problems? When i configure everything in the manifest and in the main activity, at debugging, the application does not start, without throwing me any error, just stoping the app.

    this is the logs without the filter:
    Code:
    Not sending keepalive.  Current connection state=STOPPED
    free_cache(
    6871758) avail 2518786048
    [
    1] com.google.android.finsky.verifier.impl.PackageVerificationReceiver.onReceive(14): Verification requested, id = 19
    Setting install_non_market_apps has moved from android.provider.Settings.Global 
    to android.provider.Settings.Secure, returning read-only value.
    [
    4369] com.google.android.finsky.foregroundcoordinator.ForegroundCoordinator.a(9): Task 7 requested foreground
    [
    4369] com.google.android.finsky.foregroundcoordinator.ForegroundCoordinator.a(34): Not entering foreground
    [
    4372] com.google.android.finsky.verifier.impl.cj.b(6): Verification id=19 response=0
    [
    1] com.google.android.finsky.verifier.impl.cy.c(102): Verifying id=19, result=1
    [
    1] com.google.android.finsky.verifier.impl.cy.c(115): Verification complete: id=19, package_name=rentayservicio.acesistemas
    Running dexopt (dex2oat) on: /data/app/vmdl664188458.tmp/base.apk pkg=rentayservicio.acesistemas isa=arm64 vmSafeMode=
    false debuggable=false target-filter=interpret-only oatDir = /data/app/vmdl664188458.tmp/oat sharedLibraries=null
    /system/bin/dex2oat --compiler-filter=interpret-only
    Before Android 
    4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
    Before Android 
    4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
    Class android.support.design.widget.SnackbarManager failed 
    lock verification and will run slower.
    Common causes 
    for lock verification issues are non-optimized dex code
    and incorrect proguard optimizations.
    Class android.support.transition.TransitionInflater failed 
    lock verification and will run slower.
    Class android.support.v4.content.ContextCompat failed 
    lock verification and will run slower.
    Class android.support.v4.view.PagerAdapter failed 
    lock verification and will run slower.
    Class android.support.v4.app.JobIntentService$JobServiceEngineImpl$WrapperWorkItem failed 
    lock verification and will run slower.
    Class android.support.v4.app.JobIntentService$JobServiceEngineImpl failed 
    lock verification and will run slower.
    Class android.support.v4.app.JobIntentService failed 
    lock verification and will run slower.
    Class android.support.v4.app.JobIntentService$CompatWorkEnqueuer failed 
    lock verification and will run slower.
    Class android.support.v4.app.FragmentManagerImpl failed 
    lock verification and will run slower.
    Class android.support.v4.app.NotificationManagerCompat failed 
    lock verification and will run slower.
    Class android.support.v4.app.NotificationCompatJellybean failed 
    lock verification and will run slower.
    Class android.support.v4.content.ModernAsyncTask failed 
    lock verification and will run slower.
    Class android.support.v4.content.FileProvider failed 
    lock verification and will run slower.
    Class android.support.v4.content.WakefulBroadcastReceiver failed 
    lock verification and will run slower.
    Class android.support.v4.content.CursorLoader failed 
    lock verification and will run slower.
    Class android.support.v4.content.LocalBroadcastManager failed 
    lock verification and will run slower.
    Class android.support.v4.hardware.display.DisplayManagerCompat failed 
    lock verification and will run slower.
    Class android.support.v4.os.ResultReceiver failed 
    lock verification and will run slower.
    Class android.support.v4.media.session.MediaControllerCompat$MediaControllerImplApi21 failed 
    lock verification and will run slower.
    Class android.support.v4.media.session.MediaSessionCompat$MediaSessionImplBase$MediaSessionStub failed 
    lock verification and will run slower.
    Class android.support.v4.media.session.MediaSessionCompat$MediaSessionImplBase failed 
    lock verification and will run slower.
    Class android.support.v4.os.CancellationSignal failed 
    lock verification and will run slower.
    Class android.support.v4.os.LocaleListHelper failed 
    lock verification and will run slower.
    Class android.support.v4.print.PrintHelper$PrintHelperApi19$
    3$1 failed lock verification and will run slower.
    Class android.support.v4.print.PrintHelper$PrintHelperApi19$
    3 failed lock verification and will run slower.
    Class android.support.v4.print.PrintHelper$PrintHelperApi19 failed 
    lock verification and will run slower.
    Class android.support.v4.provider.FontsContractCompat$
    3 failed lock verification and will run slower.
    Class android.support.v4.provider.SelfDestructiveThread failed 
    lock verification and will run slower.
    Class android.support.v4.provider.FontsContractCompat failed 
    lock verification and will run slower.
    Class android.support.v4.util.SimpleArrayMap failed 
    lock verification and will run slower.
    Class android.support.v4.util.LruCache failed 
    lock verification and will run slower.
    Class android.support.v4.util.ArraySet failed 
    lock verification and will run slower.
    Class android.support.v4.util.TimeUtils failed 
    lock verification and will run slower.
    Class android.support.v4.util.Pools$SynchronizedPool failed 
    lock verification and will run slower.
    Class android.support.v7.content.res.AppCompatResources failed 
    lock verification and will run slower.
    Class android.support.v7.util.MessageThreadUtil$SyncQueueItem failed 
    lock verification and will run slower.
    Class android.support.v7.widget.ActivityChooserModel failed 
    lock verification and will run slower.
    Class android.support.v7.widget.AppCompatDrawableManager failed 
    lock verification and will run slower.
    Class android.support.v7.widget.AppCompatTextViewAutoSizeHelper failed 
    lock verification and will run slower.
    Class android.support.v7.widget.TintContextWrapper failed 
    lock verification and will run slower.
    Class anywheresoftware.b4a.B4AThreadPool failed 
    lock verification and will run slower.
    Class anywheresoftware.b4a.BA failed 
    lock verification and will run slower.
    Class anywheresoftware.b4a.objects.CameraW$
    2$1 failed lock verification and will run slower.
    Class anywheresoftware.b4a.objects.CameraW$CloseCamera failed 
    lock verification and will run slower.
    Class anywheresoftware.b4a.objects.CameraW$
    2 failed lock verification and will run slower.
    Class anywheresoftware.b4a.objects.CameraW failed 
    lock verification and will run slower.
    Class com.google.firebase.iid.zzb failed 
    lock verification and will run slower.
    Class anywheresoftware.b4a.sql.SQL$
    1 failed lock verification and will run slower.
    Class anywheresoftware.b4a.sql.SQL$
    2 failed lock verification and will run slower.
    Class com.crashlytics.android.beta.AbstractCheckForUpdatesController failed 
    lock verification and will run slower.
    Class com.crashlytics.android.core.ReportUploader failed 
    lock verification and will run slower.
    Class com.google.android.gms.ads.identifier.AdvertisingIdClient failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.GoogleApiAvailability failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.api.internal.BasePendingResult failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.api.GoogleApiClient failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.api.GoogleApiClient$Builder failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.api.internal.zzae failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.api.internal.zzbz failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.api.internal.zzbm failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.api.internal.zzbo failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.api.internal.zzdg failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.api.internal.zzdi failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.api.zza failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.api.internal.zzk failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.data.zzg failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.images.ImageManager$zzd failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.internal.DowngradeableSafeParcel failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.images.ImageManager$zzc failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.internal.zzag failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.data.DataHolder failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.internal.zzai failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.internal.zzaj failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.internal.zzd failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.internal.zzae failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.internal.zzbf failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.internal.zzi failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.internal.zzl failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.stats.zza failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.internal.zzu failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.zzg failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.zzj failed 
    lock verification and will run slower.
    Class com.google.android.gms.common.zzq failed 
    lock verification and will run slower.
    Class com.google.android.gms.flags.impl.zzj failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzr failed 
    lock verification and will run slower.
    Class com.google.android.gms.dynamite.DynamiteModule failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcbb failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcax failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcfd failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcfk failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcgn failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcgs failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzchx failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzchk failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcil failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcih failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzckc failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzckq failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzckr failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzckj failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzckt failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzckx failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzckv failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcku failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzclf failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcjn failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzclt failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzclr failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzclv failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzclx failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcls failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzclz failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcma failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcmb failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcmc failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzclq failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzctv failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcmg failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcui failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcxt failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcme failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzdvp failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzdmf failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzf failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzfep failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzffw failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzfgk failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzfik failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzcim failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzfkg failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzfkt failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzfkr failed 
    lock verification and will run slower.
    Class com.google.android.gms.internal.zzv failed 
    lock verification and will run slower.
    Class com.google.android.gms.tasks.Tasks$zzc failed 
    lock verification and will run slower.
    Class com.google.android.gms.tasks.zze failed 
    lock verification and will run slower.
    Class com.google.android.gms.tasks.zzf failed 
    lock verification and will run slower.
    Class com.google.android.gms.tasks.zzh failed 
    lock verification and will run slower.
    Class com.google.android.gms.security.ProviderInstaller failed 
    lock verification and will run slower.
    Class com.google.android.gms.tasks.zzg failed 
    lock verification and will run slower.
    Class com.google.android.gms.tasks.zzj failed 
    lock verification and will run slower.
    Class com.google.android.gms.tasks.zzl failed 
    lock verification and will run slower.
    Class com.google.android.gms.tasks.zzn failed 
    lock verification and will run slower.
    Class com.google.android.gms.tasks.zzn$zza failed 
    lock verification and will run slower.
    Class com.google.android.gms.tasks.zzi failed 
    lock verification and will run slower.
    Class com.google.firebase.FirebaseApp$zzc failed 
    lock verification and will run slower.
    Class com.google.firebase.iid.FirebaseInstanceId failed 
    lock verification and will run slower.
    Class com.google.firebase.iid.zzaa failed 
    lock verification and will run slower.
    Class com.google.firebase.iid.zzh failed 
    lock verification and will run slower.
    Class com.google.firebase.iid.zzk failed 
    lock verification and will run slower.
    Class com.google.firebase.iid.zzn failed 
    lock verification and will run slower.
    Class com.google.firebase.FirebaseApp failed 
    lock verification and will run slower.
    Class com.google.firebase.iid.zzx failed 
    lock verification and will run slower.
    Class com.google.firebase.iid.zzv failed 
    lock verification and will run slower.
    Class okhttp3.Cache$CacheRequestImpl$
    1 failed lock verification and will run slower.
    Class okhttp3.Cache$CacheRequestImpl failed 
    lock verification and will run slower.
    Class okhttp3.ConnectionPool$
    1 failed lock verification and will run slower.
    Class okhttp3.ConnectionPool failed 
    lock verification and will run slower.
    Class okhttp3.Dispatcher failed 
    lock verification and will run slower.
    Class okhttp3.RealCall failed 
    lock verification and will run slower.
    Class okhttp3.internal.cache.DiskLruCache$
    1 failed lock verification and will run slower.
    Class okhttp3.internal.cache.DiskLruCache$
    3 failed lock verification and will run slower.
    Class okhttp3.internal.cache.DiskLruCache$Editor$
    1 failed lock verification and will run slower.
    Class okhttp3.internal.cache.DiskLruCache$Editor failed 
    lock verification and will run slower.
    Class okhttp3.internal.cache2.Relay failed 
    lock verification and will run slower.
    Class okhttp3.internal.cache2.Relay$RelaySource failed 
    lock verification and will run slower.
    Class okhttp3.internal.connection.StreamAllocation failed 
    lock verification and will run slower.
    Class okhttp3.internal.http.HttpDate failed 
    lock verification and will run slower.
    Class okhttp3.internal.http2.Http2Connection$
    4 failed lock verification and will run slower.
    Class okhttp3.internal.http2.Http2Connection$
    6 failed lock verification and will run slower.
    Class okhttp3.internal.http2.Http2Connection$
    7 failed lock verification and will run slower.
    Class okhttp3.internal.http2.Http2Connection$
    5 failed lock verification and will run slower.
    Class okhttp3.internal.http2.Http2Stream$FramedDataSink failed 
    lock verification and will run slower.
    Class okhttp3.internal.http2.Http2Stream$FramedDataSource failed 
    lock verification and will run slower.
    Class okhttp3.internal.http2.Http2Connection$ReaderRunnable failed 
    lock verification and will run slower.
    Class okhttp3.internal.huc.OkHttpURLConnection$NetworkInterceptor failed 
    lock verification and will run slower.
    Class okhttp3.internal.http2.Http2Stream failed 
    lock verification and will run slower.
    Class okhttp3.internal.http2.Http2Connection failed 
    lock verification and will run slower.
    Class okhttp3.internal.ws.WebSocketWriter failed 
    lock verification and will run slower.
    Class okhttp3.internal.ws.WebSocketWriter$FrameSink failed 
    lock verification and will run slower.
    Class okhttp3.internal.huc.OkHttpURLConnection failed 
    lock verification and will run slower.
    Class okio.AsyncTimeout$Watchdog failed 
    lock verification and will run slower.
    Class okhttp3.internal.ws.RealWebSocket failed 
    lock verification and will run slower.
    Class okio.Pipe$PipeSource failed 
    lock verification and will run slower.
    Class okio.Pipe$PipeSink failed 
    lock verification and will run slower.
    Class okio.SegmentPool failed 
    lock verification and will run slower.
    Starting scheduled upload task
    Starting 
    serviceintent=Intent { act=com.google.android.location.reporting.UPLOAD cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService }, extras=null
    dex2oat took 1.839s (threads: 6) arena alloc=348KB (356416B) java alloc=7MB (8055424B) native alloc=11MB (12208800B) free=3MB (3781984B)
    Force stopping rentayservicio.acesistemas appid=10150 user=-1: installPackageLI
    Package rentayservicio.acesistemas codePath changed from /data/app/rentayservicio.acesistemas-1 to /data/app/rentayservicio.acesistemas-2; Retaining data and using new
    Code path for rentayservicio.acesistemas changing from /data/app/rentayservicio.acesistemas-1 to /data/app/rentayservicio.acesistemas-2
    Resource path for rentayservicio.acesistemas changing from /data/app/rentayservicio.acesistemas-1 to /data/app/rentayservicio.acesistemas-2
    Unknown permission rentayservicio.acesistemas.permission.MAPS_RECEIVE in package rentayservicio.acesistemas
    Expected path /data/data/rentayservicio.acesistemas with mode 700 but found 751
    Expected path /data/user_de/0/rentayservicio.acesistemas with mode 700 but found 751
    Waiting for a blocking GC Explicit
    Starting a blocking GC Explicit
    LocationReporter sending 61 locations, 3 activities, and 20 metadata for account account#-3# request #0; requests: []
    Explicit concurrent mark sweep GC freed 9561(964KB) AllocSpace objects, 3(60KB) LOS objects, 33% free, 30MB/46MB, paused 1.363ms total 81.992ms
    Couldn't opendir /data/app/vmdl664188458.tmp: No such file or directory
    Force stopping rentayservicio.acesistemas appid=10150 user=0: pkg removed
    Reconfiguring input devices.  changes=0x00000010
    Reconfiguring input devices.  changes=0x00000010
    Reconfiguring input devices.  changes=0x00000010
    Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1357 android.content.ContextWrapper.startService:613 android.content.ContextWrapper.startService:613 com.android.keychain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleReceiver:3065
    Unrecognised action provided: android.intent.action.PACKAGE_REMOVED
    Received broadcast action=android.intent.action.PACKAGE_REMOVED and uri=rentayservicio.acesistemas
    Could not set socket write timeout:
    No carrier app for: 0
    No carrier app for: 1
       java.lang.reflect.Method.invoke(Native Method)
       com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@11951448:13)
    No carrier app for: 0
    No carrier app for: 1
    mHandler: 9 phoneId: 0
    Received intent: Intent { act=com.google.android.gms.icing.IME_NOTIFICATION flg=0x10 pkg=com.google.android.inputmethod.latin (has extras) }
    [1] com.google.android.finsky.externalreferrer.f.run(9): Package state data is missing for rentayservicio.acesistemas
    Wearable Services not starting - Wear is not available on this device.
    onGetService - Wear is not available on this device.
    [1] com.google.android.finsky.wear.bk.a(3): onConnectionFailed: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
    [1] com.google.android.finsky.wear.al.run(9): Dropping command=auto_install due to Gms not connected
    Received broadcast action=android.intent.action.PACKAGE_ADDED and uri=rentayservicio.acesistemas
    Could not set socket write timeout:
       java.lang.reflect.Method.invoke(Native Method)
       com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@11951448:13)
    START u0 {flg=0x10800000 cmp=com.estrongs.android.pop/.app.InstallMonitorActivity (has extras)} from uid 10107 on display 0
    Failed to acquire lock.
    >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
    CheckJNI is OFF
    IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=AppsCorpus serviceId=32
    IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=AppsCorpus serviceId=36
    Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@c235ca5 attribute=null, token = android.os.BinderProxy@468231c
    No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
    Batch Location Update succeeded for account account#-3#
    register_android_hardware_Radio DONE
    Calling main entry com.android.commands.am.Am
    Permission denial: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
    START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=rentayservicio.acesistemas/.main} from uid 2000 on display 0
    Shutting down VM
    Start proc 4521:rentayservicio.acesistemas/u0a150 for activity rentayservicio.acesistemas/.main
    ClassLoader referenced unknown path: /data/app/rentayservicio.acesistemas-2/lib/arm64
    App usage reports: 4
    Usage reports ok 4, Failed Usage reports 0, indexed 0, rejected 0, imm upload false
    Shutting down VM
    FATAL EXCEPTION: main
    Process: rentayservicio.acesistemas, PID: 4521
    java.lang.NoClassDefFoundError: Failed resolution of: Lio/fabric/sdk/android/services/common/FirebaseInfo;
        at com.crashlytics.android.CrashlyticsInitProvider.onCreate(CrashlyticsInitProvider.java:22)
        at android.content.ContentProvider.attachInfo(ContentProvider.java:1751)
        at android.content.ContentProvider.attachInfo(ContentProvider.java:1726)
        at android.app.ActivityThread.installProvider(ActivityThread.java:5920)
        at android.app.ActivityThread.installContentProviders(ActivityThread.java:5490)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5429)
        at android.app.ActivityThread.-wrap2(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1564)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6186)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
    Caused by: java.lang.ClassNotFoundException: Didn't find class "io.fabric.sdk.android.services.common.FirebaseInfo" on path: DexPathList[[zip file "/data/app/rentayservicio.acesistemas-2/base.apk"],nativeLibraryDirectories=[/data/app/rentayservicio.acesistemas-2/lib/arm64, /system/lib64, /vendor/lib64]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        ... 14 more
    Usage reports ok 0, Failed Usage reports 0, indexed 0, rejected 0, imm upload false
      Force finishing activity rentayservicio.acesistemas/.main
      Force finishing activity rentayservicio.acesistemas/.main
    Duplicate finish request for ActivityRecord{1921e21 u0 rentayservicio.acesistemas/.main t16718 f}
    Dropping: data_app_crash (1777 > 0 bytes)
    Unrecognised action provided: android.intent.action.PACKAGE_REPLACED
    Initialized EGL, version 1.4
    Swap behavior 1
    ** Service (newinst2) Start **
    ---- AppUpdating.newinst2: service_started
    java.io.FileNotFoundException: http://www.estrongs.com/console/service/sample/index.php?source=ESF&country=us&unique_id=cx0cFPY4bTHWjQed3TGLWQ==
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:250)
        at com.estrongs.android.util.u.l(Unknown Source)
        at com.estrongs.android.util.u.a(Unknown Source)
        at com.estrongs.android.util.u$2.run(Unknown Source)
    IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=AppsCorpus serviceId=32
    IndexChimeraService.getServiceInterface callingPackage=com.google.android.gms componentName=AppsCorpus serviceId=36
    Usage reports ok 0, Failed Usage reports 0, indexed 0, rejected 0, imm upload false
    Usage reports ok 0, Failed Usage reports 0, indexed 0, rejected 0, imm upload false
    PACKAGE REPLACED USA GMS!!!!
    Activity pause timeout for ActivityRecord{1921e21 u0 rentayservicio.acesistemas/.main t16718 f}
    relayoutVisibleWindow: Window{eb1ab25 u0 com.whatsapp/com.whatsapp.HomeActivity EXITING} mAnimatingExit=true, mRemoveOnExit=false, mDestroying=false
    Failed to acquire lock.
    java.io.FileNotFoundException: http://conf.international.baidu.com/index.php/Sample/getConf?source=ESF&country=us&unique_id=cx0cFPY4bTHWjQed3TGLWQ==
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:250)
        at com.estrongs.android.util.u.l(Unknown Source)
        at com.estrongs.android.util.u.a(Unknown Source)
        at com.estrongs.android.util.u$2.run(Unknown Source)
    Decided to move IRQ224 from CPU2 to CPU0
    Not sending keepalive.  Current connection state=STOPPED
    Indexing B65C397ABF1B1CF5F04DD531FFB34FFA03692511 from com.google.android.gms
    Indexing done B65C397ABF1B1CF5F04DD531FFB34FFA03692511
    Failed looking up window
    java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@ec4241e does not exist
        at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9469)
        at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9460)
        at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2401)
        at com.android.server.wm.Session.remove(Session.java:202)
        at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3290)
        at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5923)
        at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3629)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.os.HandlerThread.run(HandlerThread.java:61)
        at com.android.server.ServiceThread.run(ServiceThread.java:46)
    Indexing B65C397ABF1B1CF5F04DD531FFB34FFA03692511 from com.google.android.gms
    Indexing done B65C397ABF1B1CF5F04DD531FFB34FFA03692511
    Received intent: Intent { act=com.google.android.gms.icing.IME_NOTIFICATION flg=0x10 pkg=com.google.android.inputmethod.latin (has extras) }
    You shouldn't keep your settings in the secure settings. This will soon become an error.
    Wearable Services stopping
    Decided to move IRQ178 from CPU3 to CPU0
    updateCapabilities for config:AR_AceSistemasfalse,false
    updateCapabilities for config:AR_AceSistemasfalse,false
    Decided to move IRQ155 from CPU3 to CPU0
    Not sending keepalive.  Current connection state=STOPPED
    Activity destroy timeout for ActivityRecord{1921e21 u0 rentayservicio.acesistemas/.main t16718 f}
    Do full code cache collection, code=250KB, data=253KB
    Starting a blocking GC JitCodeCache
    After code cache collection, code=223KB, data=190KB
    [4294] com.google.android.finsky.k.c.a(23): Completed 0 account content syncs with 0 successful.
    [1] com.google.android.finsky.services.e.a(5): Installation state replication succeeded.
    Successfully inserted 1 locations
    Decided to move IRQ200 from CPU2 to CPU0
     
    Last edited: Dec 21, 2017
  3. Erel

    Erel Administrator Staff Member Licensed User

    Make sure that io.fabric.sdk.* is installed in the sdk manager.
     
    MAGAREY likes this.
  4. MAGAREY

    MAGAREY Member Licensed User

    that solved it thank's Erel!
     
  5. walterf25

    walterf25 Well-Known Member Licensed User

    What does this part of the code do?

    Walter
     
  6. DonManfred

    DonManfred Expert Licensed User

    I guess creating a crash which will be seen later in Firebase
     
    stingrae, Erel and walterf25 like this.
  7. walterf25

    walterf25 Well-Known Member Licensed User

    Ah yes of course, thanks!

    Regards,
    Walter
     
  8. Alexander Stolte

    Alexander Stolte Well-Known Member Licensed User

    I went through the manual step by step, but have this error:
    Code:
    Maven artifact not found: com.crashlytics.sdk.android/crashlytics
    I have everything installed:
    crashlytics.PNG

    the io too:
    io.PNG
     
    Multiverse app likes this.
  9. Erel

    Erel Administrator Staff Member Licensed User

    Are you sure that the IDE is configured to use android.jar from the correct Android SDK?
     
    Alexander Stolte likes this.
  10. Schakalaka

    Schakalaka Member Licensed User

    hello.

    i have problem to register the app to fabric.io site. i have create a new account.
    it require 3 step, but it remain at first (
    Add the first SDK to your project
    Tip: Download and install the Fabric plugin to get started.)
    i have follow the guide and lanch app in release mode, but nothing change..
    Any suggestions?
     
  11. Multiverse app

    Multiverse app Active Member Licensed User

  12. Pooya1

    Pooya1 Active Member Licensed User

    What is different between Crashlytics and FirebaseCrash?
     
  13. Erel

    Erel Administrator Staff Member Licensed User

    Crashlytics is a newer service and it will replace FirebaseCrash at some point.
     
    Pooya1 likes this.
  14. ivan.tellez

    ivan.tellez Active Member Licensed User

    Hi @Erel

    Can you please update the class to include this function?

    Code:
    try {
        methodThatThrows();
    } catch (Exception e) {
        Crashlytics.logException(e);
        // handle your exception here
    }

    Thanks
     
  15. Erel

    Erel Administrator Staff Member Licensed User

    Which function? logException?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice