GCM Registration ID None

Hey

I created an android application. Im using FCM but when i look under audicence all my connections have GCM registration ID : none.  I assume thats the why im not recieving any push notications.

I read your documentations, troubleshooting guide but it did not help.


AirshipConfigOptions options = new AirshipConfigOptions.Builder()
.setAnalyticsEnabled(true)
.setDevelopmentAppKey(developmentAppKey)
.setDevelopmentAppSecret(developmentAppSecret)
.setProductionAppKey(productionAppKey)
.setProductionAppSecret(productionAppSecret)
.setInProduction(inProduction)
.setGcmSender(gcmCode)
.setNotificationIcon(R.drawable.common_full_open_on_phone)
.setNotificationAccentColor(0x7986CB)
.build();

 

Didn't find what you were looking for?

New post

Comments

18 comments

  • Hi Thomas,

    Yes, you are indeed correct that because your GCM Registration ID is set to None, you're not able to receive push notifications.

    To help troubleshoot that, would you be able to provide any logs from Android Studio while the app is running? Particularly, when the app first boots up. We should be able to find something in there that would point out what the issue is.

     

    Comment actions Permalink
    0
  • I/System.out: propertyValue:true
    I/System.out: [socket][0] connection combine.urbanairship.com/104.120.252.166:443;LocalPort=60098(0)
    I/System.out: [CDS]connect[combine.urbanairship.com/104.120.252.166:443] tm:90
    I/System.out: [socket][/172.20.10.2:60098] connected
    I/System.out: [CDS]rx timeout:0

    is this any usefull ?

    Comment actions Permalink
    0
  • The app gets the right channel ID and i can see the channels and tags  on urbanairship under audicence.

    I also get UALib: Google Play services is currently unavailable. Im not sure if that is related.

    Comment actions Permalink
    0
  • Those are not too helpful, however the last bit

    "UALib: Google Play services is currently unavailable."

    Would definitely cause this.

    Google Play Services is required to be able to register with GCM correctly. There are devices out there that are either too old or just flat out don't support the latest version of Google Play Services. If that is the case, you will need to test on a newer device.

    The other, which is less obvious, is Google Play Services might not work correctly if the time/date on your device is not correct. A quick way to fix this would be to make sure that automatic date/time is turned on for your device so that the device's local time is up-to-date. Would you mind checking if that is the case for your device?

    Comment actions Permalink
    0
  • I get it on both the emulator running android 25 and on a real device running 4.4

    This is from gradle

    compile 'com.google.android.gms:play-services-gcm:11.0.1'


    From what i can google it might be something to do with sha1 key beeing incorrect ?

    Comment actions Permalink
    0
  • That could do it, though you should just be able to create a test project without a SHA1 key and have it work regardless.

    Were there any other logs you could provide?

    Comment actions Permalink
    0
  • com.google.android.gms.persistent W/GLSUser: [AppCertManager] IOException while requesting key:
    java.io.IOException: Invalid device key response.
    at evk.a(:com.google.android.gms:274)
    at evk.a(:com.google.android.gms:4238)
    at evj.a(:com.google.android.gms:45)
    at evd.a(:com.google.android.gms:50)
    at evc.a(:com.google.android.gms:104)
    at com.google.android.gms.auth.account.be.legacy.AuthCronChimeraService.b(:com.google.android.gms:4049)
    at ecm.call(:com.google.android.gms:2041)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at llt.run(:com.google.android.gms:450)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
    at lqc.run(:com.google.android.gms:17)
    at java.lang.Thread.run(Thread.java:761)

    -------------------------------------------------------------------------------------------------

    Google Play services out of date.  Requires 11011000 but found 10298470


    Comment actions Permalink
    0
  • Thomas,

    Go ahead and try updating Google Play Services on the device and see if that resolves it.

    Comment actions Permalink
    0
  • i am using the newest googleplayservice 

    compile 'com.google.android.gms:play-services-gcm:11.0.1'

    That error message is apperantly from the emulator,  i would have to downgrade to make it work on the emulator. i dont get that error on an actual device

    Comment actions Permalink
    0
  • Thomas,

    Do you have the logs from the actual device? I'd be curious to see how those differ from the emulator.

    Comment actions Permalink
    0
  • Emulator:


    06-22 22:26:10.986 2576-2576/com.example.thsk.hareskovskole W/System: ClassLoader referenced unknown path: /data/app/com.example.thsk.hareskovskole-1/lib/x86
    06-22 22:26:11.001 2576-2576/com.example.thsk.hareskovskole I/InstantRun: starting instant run server: is main process
    06-22 22:26:11.021 2576-2581/com.example.thsk.hareskovskole I/art: Starting a blocking GC Instrumentation
    06-22 22:26:11.086 29499-29544/system_process W/AppOps: Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
    06-22 22:26:11.191 2576-2641/com.example.thsk.hareskovskole W/GooglePlayServicesUtil: Google Play services out of date. Requires 11011000 but found 10298470
    06-22 22:26:11.191 2576-2641/com.example.thsk.hareskovskole E/HareskovSkole - UALib: Google Play services is currently unavailable.
    06-22 22:26:11.263 2576-2576/com.example.thsk.hareskovskole W/art: 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
    06-22 22:26:11.325 2576-2576/com.example.thsk.hareskovskole I/TextInputLayout: EditText added is not a TextInputEditText. Please switch to using that class instead.
    06-22 22:26:11.331 2576-2576/com.example.thsk.hareskovskole I/TextInputLayout: EditText added is not a TextInputEditText. Please switch to using that class instead.
    06-22 22:26:11.349 2576-2641/com.example.thsk.hareskovskole W/GooglePlayServicesUtil: Google Play services out of date. Requires 11011000 but found 10298470
    06-22 22:26:11.368 1329-1880/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property

    [ 06-22 22:26:11.377 2576: 2576 D/ ]
    HostConnection::get() New Host Connection established 0xa7626600, tid 2576
    06-22 22:26:11.416 2576-2657/com.example.thsk.hareskovskole W/GooglePlayServicesUtil: Google Play services out of date. Requires 11011000 but found 10298470
    06-22 22:26:11.416 2576-2657/com.example.thsk.hareskovskole E/HareskovSkole - UALib: Google Play services is currently unavailable.
    06-22 22:26:11.455 1329-1503/? D/gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer

    [ 06-22 22:26:11.459 2576: 2652 D/ ]
    HostConnection::get() New Host Connection established 0xa28e4100, tid 2652
    06-22 22:26:11.471 1329-1503/? D/gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
    06-22 22:26:11.475 2576-2652/com.example.thsk.hareskovskole I/OpenGLRenderer: Initialized EGL, version 1.4
    06-22 22:26:11.475 2576-2652/com.example.thsk.hareskovskole D/OpenGLRenderer: Swap behavior 1
    06-22 22:26:11.476 2576-2652/com.example.thsk.hareskovskole W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
    06-22 22:26:11.476 2576-2652/com.example.thsk.hareskovskole D/OpenGLRenderer: Swap behavior 0
    06-22 22:26:11.488 1329-1503/? D/gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
    06-22 22:26:11.560 2576-2657/com.example.thsk.hareskovskole D/NetworkSecurityConfig: No Network Security Config specified, using platform default
    06-22 22:26:11.621 29499-29544/system_process I/ActivityManager: Displayed com.example.thsk.hareskovskole/.MainActivity: +3s282ms
    06-22 22:26:11.741 1329-1329/? W/SurfaceFlinger: couldn't log to binary event log: overflow.
    06-22 22:26:11.761 2576-2579/com.example.thsk.hareskovskole I/art: Do partial code cache collection, code=29KB, data=22KB
    06-22 22:26:11.762 2576-2579/com.example.thsk.hareskovskole I/art: After code cache collection, code=29KB, data=22KB
    06-22 22:26:11.762 2576-2579/com.example.thsk.hareskovskole I/art: Increasing code cache capacity to 128KB
    06-22 22:26:11.818 29499-29544/system_process D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
    06-22 22:26:12.014 2576-2576/com.example.thsk.hareskovskole I/System.out: Channel created. Channel Id:da154d77-bd28-41fb-993c-359f8311b116.
    06-22 22:26:17.015 30515-30524/com.google.android.gms W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/com.google.android.gms/databases/metrics.db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
    06-22 22:26:17.018 30515-30524/com.google.android.gms W/SQLiteConnectionPool: A SQLiteConnection object for database '/data/user/0/com.google.android.gms/databases/auto_complete_suggestions.db' was leaked! Please fix your application to end transactions in progress properly and to close the database when it is no longer needed.
    06-22 22:26:17.241 30515-2676/com.google.android.gms W/PlatformStatsUtil: Could not retrieve Usage & Diagnostics setting. Giving up.
    06-22 22:26:37.287 2576-2579/com.example.thsk.hareskovskole I/art: Do partial code cache collection, code=59KB, data=53KB
    06-22 22:26:37.287 2576-2579/com.example.thsk.hareskovskole I/art: After code cache collection, code=59KB, data=53KB
    06-22 22:26:37.287 2576-2579/com.example.thsk.hareskovskole I/art: Increasing code cache capacity to 256KB
    06-22 22:26:45.627 29499-31783/system_process I/ActivityManager: START u0 {cmp=com.example.thsk.hareskovskole/.HomeActivity} from uid 10074 on display 0
    06-22 22:26:49.771 2576-2576/com.example.thsk.hareskovskole I/System.out: Urban Airship Application channel ID: da154d77-bd28-41fb-993c-359f8311b116
    06-22 22:26:49.868 2576-2576/com.example.thsk.hareskovskole I/Choreographer: Skipped 252 frames! The application may be doing too much work on its main thread.
    06-22 22:26:49.953 1329-1880/? D/gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
    06-22 22:26:49.962 1329-1880/? D/gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
    06-22 22:26:49.971 1329-1880/? D/gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
    06-22 22:26:50.026 2576-2579/com.example.thsk.hareskovskole I/art: Do full code cache collection, code=113KB, data=108KB
    06-22 22:26:50.027 2576-2579/com.example.thsk.hareskovskole I/art: Starting a blocking GC JitCodeCache
    06-22 22:26:50.027 2576-2579/com.example.thsk.hareskovskole I/art: After code cache collection, code=84KB, data=61KB
    06-22 22:26:50.192 2576-2576/com.example.thsk.hareskovskole W/art: 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
    06-22 22:26:50.397 29499-29544/system_process I/ActivityManager: Displayed com.example.thsk.hareskovskole/.HomeActivity: +4s749ms
    06-22 22:26:50.427 2576-2576/com.example.thsk.hareskovskole I/System.out: Channel updated. Channel Id:da154d77-bd28-41fb-993c-359f8311b116.
    06-22 22:26:50.428 2576-2576/com.example.thsk.hareskovskole W/IInputConnectionWrapper: finishComposingText on inactive InputConnection
    06-22 22:27:06.791 30044-30044/com.google.android.googlequicksearchbox:search I/GrammarCompilationSvcCt: #startService for null, APP_NAMES.
    06-22 22:27:06.794 30044-3494/com.google.android.googlequicksearchbox:search I/ContextCompilationHandl: Compiling grammar for: en-US, type=APP_NAMES
    06-22 22:27:06.796 30044-3494/com.google.android.googlequicksearchbox:search I/ContextCompilationHandl: No grammar compilation resources for VOICE_ACTIONS_COMPILER, aborting.
    06-22 22:27:08.049 30044-30044/com.google.android.googlequicksearchbox:search I/GrammarCompilationSvcCt: #startService for null, APP_NAMES.
    06-22 22:27:08.053 30044-3511/com.google.android.googlequicksearchbox:search I/ContextCompilationHandl: Compiling grammar for: en-US, type=APP_NAMES
    06-22 22:27:08.054 30044-3511/com.google.android.googlequicksearchbox:search I/ContextCompilationHandl: No grammar compilation resources for VOICE_ACTIONS_COMPILER, aborting.

    device android 19:

    06-22 22:28:47.621 675-675/? D/WifiService: onReceive, action:android.intent.action.BATTERY_CHANGED
    06-22 22:28:47.621 675-710/? D/PowerManagerService: updateIsPoweredLocked: wasPowered=true, mIsPowered=true, oldPlugType=2, mPlugType=2, mBatteryLevel=100
    06-22 22:28:47.621 675-726/? D/WifiController: DeviceActiveState{ when=0 what=155652 arg1=2 target=com.android.internal.util.StateMachine$SmHandler target=Handler (com.android.internal.util.StateMachine$SmHandler) {4294c6d8} }
    06-22 22:28:47.621 675-710/? D/PowerManagerService: handleSandman: canDream=false, mWakefulness=Awake
    06-22 22:28:47.621 675-726/? D/WifiController: StaEnabledState{ when=0 what=155652 arg1=2 target=com.android.internal.util.StateMachine$SmHandler target=Handler (com.android.internal.util.StateMachine$SmHandler) {4294c6d8} }
    06-22 22:28:47.621 675-726/? D/WifiController: DefaultState{ when=0 what=155652 arg1=2 target=com.android.internal.util.StateMachine$SmHandler target=Handler (com.android.internal.util.StateMachine$SmHandler) {4294c6d8} }
    06-22 22:28:47.621 675-726/? D/WifiController: battery changed pluggedType: 2
    06-22 22:28:47.622 770-770/? D/KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
    06-22 22:28:47.623 173-173/? W/ADB_SERVICES: create_local_service_socket() name=shell:cat /proc/stat
    06-22 22:28:47.623 173-173/? W/ADB_SERVICES: service_to_fd() name=shell:cat /proc/stat
    06-22 22:28:47.623 173-173/? W/ADB_SERVICES: read_meminfo() mem_free=5916
    06-22 22:28:47.624 173-173/? W/ADB_SERVICES: create_subprocess() ret_fd=13 pid=2183
    06-22 22:28:47.624 173-173/? W/ADB_SERVICES: LS(12692): bound to 'shell:cat /proc/stat' via 13
    06-22 22:28:47.624 2183-2183/? W/ADB_SERVICES: adb: unable to open /proc/2183/oom_adj
    06-22 22:28:47.627 675-675/? D/UsbDeviceManager: onReceive - BATTERY_CHANGED - mPlugType: 2, mSettingUsbCharging: false, mConnected: true, mSettingUsbBicr: false
    06-22 22:28:47.628 770-770/? D/PowerUI: action = android.intent.action.BATTERY_CHANGED
    06-22 22:28:47.628 770-770/? D/PowerUI: Intent start() ret = false mHideLowBDialog= true
    06-22 22:28:47.628 770-770/? D/PowerUI: oldBatteryLevel = 100mBatteryLevel = 100
    06-22 22:28:47.628 770-770/? D/PowerUI: dismissLowBatteryWarning
    06-22 22:28:47.629 770-770/? D/StatusBar.BatteryController: BatteryController onReceive action is android.intent.action.BATTERY_CHANGED
    06-22 22:28:47.629 173-173/? D/ADB_SERVICES: closing because is_eof=1 r=1 s->fde.force_eof=0
    06-22 22:28:47.629 173-173/? W/ADB_SERVICES: entered. LS(12692) fd=13
    06-22 22:28:47.630 770-770/? D/StatusBar.BatteryController: mBatteryPercentage is 100% mShouldShowBatteryPercentage is false mLabelViews.size() 1
    06-22 22:28:47.630 770-770/? D/StatusBar.BatteryController: [Laptop] isPresent = false
    06-22 22:28:47.630 770-770/? D/KeyguardUpdateMonitor: handleBatteryUpdate index=0 updateInteresting=false
    06-22 22:28:47.647 675-734/? V/ActivityManager: Broadcast sticky: Intent { act=android.intent.action.SIG_STR flg=0x20000010 (has extras) } ordered=false userid=-1 callerApp=ProcessRecord{426e4788 675:system/1000}
    06-22 22:28:47.660 770-770/? D/OpenGLRenderer: prepareDirty (0.00, 0.00, 480.00, 38.00) opaque 0 <0x6212e490>
    06-22 22:28:47.660 770-770/? D/OpenGLRenderer: clear (0.00, 38 - 38.00 = 0.00, 480.00 - 0.00 = 480.00, 38.00 - 0.00 = 38.00) opaque 0 <0x6212e490>
    06-22 22:28:47.662 770-770/? D/OpenGLRenderer: finish <0x6212e490>
    06-22 22:28:47.663 770-770/? D/StatusBar.NetworkController: PhoneStateListener:onSignalStrengthsChanged, sim0 before.
    06-22 22:28:47.664 770-770/? D/StatusBar.NetworkController: PhoneStateListener:onSignalStrengthsChanged, signalStrength=4
    06-22 22:28:47.664 770-770/? D/StatusBar.NetworkController: updateDataNetType(0), DataNetType=0 / 0
    06-22 22:28:47.664 770-770/? D/SIMHelper: isSimInserted(0), SimInserted=false
    06-22 22:28:47.664 770-770/? D/SIMHelper: isSimInserted(0), SimInserted=false
    06-22 22:28:47.664 770-770/? D/StatusBar.NetworkController: updateTelephonySignalStrength(0), is null signal.
    06-22 22:28:47.664 770-770/? D/StatusBar.NetworkController: updateTelephonySignalStrength(0), null signal
    06-22 22:28:47.664 770-770/? D/StatusBar.NetworkController: updateTelephonySignalStrength(0) tempSIMCUSignVisible= true
    06-22 22:28:47.664 770-770/? D/SIMHelper: isSimInserted(0), SimInserted=false
    06-22 22:28:47.664 770-770/? D/StatusBar.NetworkController: refreshViews(0), DataConnected=false simColorId = -1
    06-22 22:28:47.664 770-770/? V/HuaweiQuickSettingsController: WIFI refreshView()
    06-22 22:28:47.664 770-770/? D/SignalClusterView: setRoamingFlagandResource(0), roaming=false, roamingId=0
    06-22 22:28:47.664 770-770/? D/SignalClusterView: setShowSimIndicator(0), showSimIndicator=false simIndicatorResource = 0
    06-22 22:28:47.664 770-770/? D/SignalClusterView: setDataNetType3G(0), NetworkType=null
    06-22 22:28:47.665 770-770/? D/SignalClusterView: apply(), mWifiVisible is true
    06-22 22:28:47.665 770-770/? D/SIMHelper: isSimInserted(0), SimInserted=false
    06-22 22:28:47.665 770-770/? D/SignalClusterView: apply(), slotId=0, mMobileVisible=true, mShouldMobileGroupVisible=true
    06-22 22:28:47.665 770-770/? D/SignalClusterView: apply(), slotId=0, mRoaming=false mMobileActivityId=0 mMobileTypeId=0 mMobileStrengthId[0] = 2130838069 mMobileStrengthId[1] = 0
    06-22 22:28:47.665 770-770/? D/SIMHelper: isSimInserted(0), SimInserted=false
    06-22 22:28:47.666 770-770/? D/SignalClusterView: apply(). mIsAirplaneMode is false, NWType slot(0) is 8
    06-22 22:28:47.666 770-770/? D/StatusBar.NetworkController: PhoneStateListener:onSignalStrengthsChanged, sim0 after.
    06-22 22:28:47.674 770-770/? D/OpenGLRenderer: prepareDirty (0.00, 0.00, 480.00, 38.00) opaque 0 <0x6212e490>
    06-22 22:28:47.674 770-770/? D/OpenGLRenderer: clear (0.00, 38 - 38.00 = 0.00, 480.00 - 0.00 = 480.00, 38.00 - 0.00 = 38.00) opaque 0 <0x6212e490>
    06-22 22:28:47.676 770-770/? D/OpenGLRenderer: finish <0x6212e490>
    06-22 22:28:47.803 2117-2117/com.example.thsk.hareskovskole D/OpenGLRenderer: prepareDirty (0.00, 0.00, 480.00, 800.00) opaque 1 <0x6210e008>
    06-22 22:28:47.805 2117-2117/com.example.thsk.hareskovskole D/OpenGLRenderer: finish <0x6210e008>
    06-22 22:28:47.807 139-294/? I/BufferQueue: [com.example.thsk.hareskovskole/com.example.thsk.hareskovskole.MainActivity](this:0xb88de708,id:269,api:1,p:2117,c:139) [queue] fps:1.98, dur:1007.85, max:505.25, min:502.60
    06-22 22:28:47.820 139-139/? I/BufferQueue: [com.example.thsk.hareskovskole/com.example.thsk.hareskovskole.MainActivity](this:0xb88de708,id:269,api:1,p:2117,c:139) [release] fps:1.99, dur:1005.89, max:503.01, min:502.87
    06-22 22:28:47.934 173-173/? D/ADB_SERVICES: adb socket write list (22) (13)
    06-22 22:28:47.934 173-173/? D/ADB_SERVICES: write_data=587
    06-22 22:28:47.966 134-2161/? D/libc: _resolv_cache_add: query:
    06-22 22:28:47.966 134-2161/? D/libc: QUERY: RECURSIVE device-api.urbanairship.com (A)
    06-22 22:28:47.969 134-2161/? D/libc: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44207
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
    ;; device-api.urbanairship.com, type = A, class = IN
    device-api.urbanairship.com. 5m22s IN CNAME wildcard.urbanairship.com.edgekey.net.
    wildcard.urbanairship.com.edgekey.net. 1h17m59s IN CNAME e3645.b.akamaiedge.net.
    e3645.b.akamaiedge.net. 23S IN A 104.120.252.166
    06-22 22:28:47.969 134-2161/? D/libc: answer:
    06-22 22:28:47.969 134-2161/? D/libc: ac af 81 80 00 01 00 03 00 00 00 00 0a 64 65 76 .............dev
    69 63 65 2d 61 70 69 0c 75 72 62 61 6e 61 69 72 ice-api.urbanair
    73 68 69 70 03 63 6f 6d 00 00 01 00 01 c0 0c 00 ship.com........
    05 00 01 00 00 01 42 00 27 08 77 69 6c 64 63 61 ......B.'.wildca
    72 64 0c 75 72 62 61 6e 61 69 72 73 68 69 70 03 rd.urbanairship.
    63 6f 6d 07 65 64 67 65 6b 65 79 03 6e 65 74 00 com.edgekey.net.
    c0 39 00 05 00 01 00 00 12 47 00 15 05 65 33 36 .9.......G...e36
    34 35 01 62 0a 61 6b 61 6d 61 69 65 64 67 65 c0 45.b.akamaiedge.
    5b c0 6c 00 01 00 01 00 00 00 17 00 04 68 78 fc [.l..........hx.
    a6 .
    06-22 22:28:47.969 134-2161/? D/libc: TTL = 23
    06-22 22:28:47.969 134-2161/? D/libc: _cache_add_p: entry 69 added (count=41)
    06-22 22:28:47.969 134-2161/? D/libc: MRU LIST (41): 69 68 63 67 65 58 57 21 35 34 33 32 31 30 29 28 27 26 25 24 23 22 20 19 18 17 7 16 15 14 13 12 11 10 9 8 6 5 4 3 1
    06-22 22:28:47.969 134-2161/? D/libc-netbsd: res_queryN name = device-api.urbanairship.com succeed
    06-22 22:28:47.969 134-2161/? D/SocketClient: SocketClient sendDatalocked done: 222
    06-22 22:28:47.969 134-2161/? D/SocketClient: SocketClient sendDatalocked done:
    06-22 22:28:47.969 134-2161/? D/SocketClient: SocketClient sendDatalocked done:
    06-22 22:28:47.969 134-2161/? D/SocketClient: SocketClient sendDatalocked done:
    06-22 22:28:47.969 134-2161/? D/SocketClient: SocketClient sendDatalocked done:
    06-22 22:28:47.969 134-2161/? D/SocketClient: SocketClient sendDatalocked done:
    06-22 22:28:47.969 134-2161/? D/SocketClient: SocketClient sendDatalocked done:
    06-22 22:28:47.969 2117-2153/com.example.thsk.hareskovskole D/libc-netbsd: getaddrinfo: device-api.urbanairship.com get result from proxy >>
    06-22 22:28:47.970 2117-2153/com.example.thsk.hareskovskole I/System.out: propertyValue:true
    06-22 22:28:47.970 2117-2153/com.example.thsk.hareskovskole I/System.out: [socket][0] connection device-api.urbanairship.com/104.120.252.166:443;LocalPort=59375(0)
    06-22 22:28:47.971 2117-2153/com.example.thsk.hareskovskole I/System.out: [CDS]connect[device-api.urbanairship.com/104.120.252.166:443] tm:90
    06-22 22:28:47.971 2117-2153/com.example.thsk.hareskovskole D/Posix: [Posix_connect Debug]Process com.example.thsk.hareskovskole :443
    06-22 22:28:48.054 2117-2153/com.example.thsk.hareskovskole I/System.out: [socket][/172.20.10.2:59375] connected
    06-22 22:28:48.054 2117-2153/com.example.thsk.hareskovskole I/System.out: [CDS]rx timeout:0
    06-22 22:28:48.056 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 NativeCrypto_SSL_do_handshake fd=0x56400005 shc=0x3a300009 timeout_millis=0 client_mode=1 npn=0x0
    06-22 22:28:48.056 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: doing handshake ++
    06-22 22:28:48.056 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 info_callback where=0x10 ret=1
    06-22 22:28:48.056 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 handshake start in UNKWN before/connect initialization
    06-22 22:28:48.056 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 info_callback ignored
    06-22 22:28:48.057 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 info_callback where=0x1001 ret=1
    06-22 22:28:48.057 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 SSL_connect:UNKWN before/connect initialization
    06-22 22:28:48.057 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 info_callback ignored
    06-22 22:28:48.057 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 info_callback where=0x1001 ret=1
    06-22 22:28:48.057 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 SSL_connect:23WCHA SSLv2/v3 write client hello A
    06-22 22:28:48.057 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 info_callback ignored
    06-22 22:28:48.057 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 info_callback where=0x1002 ret=-1
    06-22 22:28:48.057 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 SSL_connect:error exit in 23RSHA SSLv2/v3 read server hello A
    06-22 22:28:48.057 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 info_callback ignored
    06-22 22:28:48.057 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: doing handshake -- ret=-1
    06-22 22:28:48.057 2117-2153/com.example.thsk.hareskovskole D/NativeCrypto: ssl=0x61792840 NativeCrypto_SSL_do_handshake ret=-1 errno=11 sslError=2 timeout_millis=0
    06-22 22:28:48.128 173-173/? W/ADB_SERVICES: create_local_service_socket() name=shell:cat /proc/net/xt_qtaguid/stats | grep 10164
    06-22 22:28:48.128 173-173/? W/ADB_SERVICES: service_to_fd() name=shell:cat /proc/net/xt_qtaguid/stats | grep 10164
    06-22 22:28:48.128 173-173/? W/ADB_SERVICES: read_meminfo() mem_free=5956
    06-22 22:28:48.129 173-173/? W/ADB_SERVICES: create_subprocess() ret_fd=13 pid=2184
    06-22 22:28:48.129 173-173/? W/ADB_SERVICES: LS(12693): bound to 'shell:cat /proc/net/xt_qtaguid/stats | grep 10164' via 13
    06-22 22:28:48.129 2184-2184/? W/ADB_SERVICES: adb: unable to open /proc/2184/oom_adj
    06-22 22:28:48.136 173-173/? D/ADB_SERVICES: closing because is_eof=1 r=-1 s->fde.force_eof=0
    06-22 22:28:48.136 173-173/? W/ADB_SERVICES: entered. LS(12693) fd=13
    06-22 22:28:48.163 173-173/? W/ADB_SERVICES: create_local_service_socket() name=shell:cat /proc/2117/stat
    06-22 22:28:48.163 173-173/? W/ADB_SERVICES: service_to_fd() name=shell:cat /proc/2117/stat
    06-22 22:28:48.164 173-173/? W/ADB_SERVICES: read_meminfo() mem_free=6032
    06-22 22:28:48.164 173-173/? W/ADB_SERVICES: create_subprocess() ret_fd=13 pid=2187
    06-22 22:28:48.164 173-173/? W/ADB_SERVICES: LS(12694): bound to 'shell:cat /proc/2117/stat' via 13
    06-22 22:28:48.165 2187-2187/? W/ADB_SERVICES: adb: unable to open /proc/2187/oom_adj
    06-22 22:28:48.168 173-173/? D/ADB_SERVICES: closing because is_eof=1 r=-1 s->fde.force_eof=0
    06-22 22:28:48.168 173-173/? W/ADB_SERVICES: entered. LS(12694) fd=13
    06-22 22:28:48.176 173-173/? W/ADB_SERVICES: create_local_service_socket() name=shell:cat /proc/stat
    06-22 22:28:48.176 173-173/? W/ADB_SERVICES: service_to_fd() name=shell:cat /proc/stat
    06-22 22:28:48.176 173-173/? W/ADB_SERVICES: read_meminfo() mem_free=6032
    06-22 22:28:48.176 173-173/? W/ADB_SERVICES: create_subprocess() ret_fd=13 pid=2188
    06-22 22:28:48.176 173-173/? W/ADB_SERVICES: LS(12695): bound to 'shell:cat /proc/stat' via 13
    06-22 22:28:48.177 2188-2188/? W/ADB_SERVICES: adb: unable to open /proc/2188/oom_adj
    06-22 22:28:48.180 173-173/? D/ADB_SERVICES: closing because is_eof=1 r=1 s->fde.force_eof=0
    06-22 22:28:48.180 173-173/? W/ADB_SERVICES: entered. LS(12695) fd=13
    06-22 22:28:48.236 675-702/? I/PackageManager: mcs_unbind
    06-22 22:28:48.305 2117-2117/com.example.thsk.hareskovskole D/OpenGLRenderer: prepareDirty (0.00, 0.00, 480.00, 800.00) opaque 1 <0x6210e008>
    06-22 22:28:48.307 2117-2117/com.example.thsk.hareskovskole D/OpenGLRenderer: finish <0x6210e008>
    06-22 22:28:48.323 139-139/? I/SurfaceFlinger: [Built-in Screen (type:0)] fps:3.977608,dur:1005.63,max:502.38,min:18.65
    06-22 22:28:48.647 675-701/? I/ANRManager: updateProcessStats
    06-22 22:28:48.670 173-173/? W/ADB_SERVICES: create_local_service_socket() name=shell:cat /proc/net/xt_qtaguid/stats | grep 10164
    06-22 22:28:48.671 173-173/? W/ADB_SERVICES: service_to_fd() name=shell:cat /proc/net/xt_qtaguid/stats | grep 10164
    06-22 22:28:48.671 173-173/? W/ADB_SERVICES: read_meminfo() mem_free=6360
    06-22 22:28:48.671 173-173/? W/ADB_SERVICES: create_subprocess() ret_fd=13 pid=2189
    06-22 22:28:48.671 173-173/? W/ADB_SERVICES: LS(12696): bound to 'shell:cat /proc/net/xt_qtaguid/stats | grep 10164' via 13
    06-22 22:28:48.672 2189-2189/? W/ADB_SERVICES: adb: unable to open /proc/2189/oom_adj
    06-22 22:28:48.679 173-173/? D/ADB_SERVICES: closing because is_eof=1 r=-1 s->fde.force_eof=0
    06-22 22:28:48.679 173-173/? W/ADB_SERVICES: entered. LS(12696) fd=13
    06-22 22:28:48.692 173-173/? W/ADB_SERVICES: create_local_service_socket() name=shell:cat /proc/2117/stat
    06-22 22:28:48.692 173-173/? W/ADB_SERVICES: service_to_fd() name=shell:cat /proc/2117/stat
    06-22 22:28:48.692 173-173/? W/ADB_SERVICES: read_meminfo() mem_free=6388
    06-22 22:28:48.693 173-173/? W/ADB_SERVICES: create_subprocess() ret_fd=13 pid=2192
    06-22 22:28:48.693 173-173/? W/ADB_SERVICES: LS(12697): bound to 'shell:cat /proc/2117/stat' via 13
    06-22 22:28:48.693 2192-2192/? W/ADB_SERVICES: adb: unable to open /proc/2192/oom_adj
    06-22 22:28:48.696 173-173/? D/ADB_SERVICES: closing because is_eof=1 r=-1 s->fde.force_eof=0
    06-22 22:28:48.696 173-173/? W/ADB_SERVICES: entered. LS(12697) fd=13
    06-22 22:28:48.703 173-173/? W/ADB_SERVICES: create_local_service_socket() name=shell:cat /proc/stat
    06-22 22:28:48.703 173-173/? W/ADB_SERVICES: service_to_fd() name=shell:cat /proc/stat
    06-22 22:28:48.704 173-173/? W/ADB_SERVICES: read_meminfo() mem_free=6808
    06-22 22:28:48.704 173-173/? W/ADB_SERVICES: create_subprocess() ret_fd=13 pid=2193
    06-22 22:28:48.704 173-173/? W/ADB_SERVICES: LS(12698): bound to 'shell:cat /proc/stat' via 13
    06-22 22:28:48.704 2193-2193/? W/ADB_SERVICES: adb: unable to open /proc/2193/oom_adj
    06-22 22:28:48.708 173-173/? D/ADB_SERVICES: closing because is_eof=1 r=1 s->fde.force_eof=0
    06-22 22:28:48.708 173-173/? W/ADB_SERVICES: entered. LS(12698) fd=13
    06-22 22:28:48.739 770-770/? D/SIMHelper: isSimInserted(0), SimInserted=false
    06-22 22:28:48.740 770-770/? D/StatusBar.NetworkController: refreshViews(0), DataConnected=false simColorId = -1
    06-22 22:28:48.740 770-770/? V/HuaweiQuickSettingsController: WIFI refreshView()
    06-22 22:28:48.740 770-770/? D/StatusBar.NetworkController: refreshViews(0), set parameters to signal cluster view.
    06-22 22:28:48.741 770-770/? D/SignalClusterView: setWifiIndicators, visible=true, strengthIcon=com.mediatek.systemui.ext.IconIdWrapper@423463c0, activityIcon=com.mediatek.systemui.ext.IconIdWrapper@423463d8, contentDescription=Wi-Fi signal full.
    06-22 22:28:48.741 770-770/? D/StatusBar.NetworkController: refreshViews(0), tempPhoneSignalIconId.0 = 2130838069 tempPhoneSignalIconId.1 = 0 tempMobileActivityIconId= 0 tempDataTypeIconId= 0
    06-22 22:28:48.741 770-770/? D/SignalClusterView: setMobileDataIndicators(0), visible=true, strengthIcon[0] ~ [1] 2130838069 ~ 0
    06-22 22:28:48.741 770-770/? D/SignalClusterView: setIsAirplaneMode=false
    06-22 22:28:48.741 770-770/? D/SignalClusterView: setRoamingFlagandResource(0), roaming=false, roamingId=0
    06-22 22:28:48.741 770-770/? D/SignalClusterView: setShowSimIndicator(0), showSimIndicator=false simIndicatorResource = 0
    06-22 22:28:48.741 770-770/? D/SignalClusterView: setDataNetType3G(0), NetworkType=null
    06-22 22:28:48.741 770-770/? D/SignalClusterView: apply(), mWifiVisible is true
    06-22 22:28:48.743 770-770/? D/SIMHelper: isSimInserted(0), SimInserted=false
    06-22 22:28:48.743 770-770/? D/SignalClusterView: apply(), slotId=0, mMobileVisible=true, mShouldMobileGroupVisible=true

    Comment actions Permalink
    0
  • I don't see anything related to UA in the actual device. Do you know if verbose logging is turned on for logcat? We should see some indication that the UA library is launching when takeOff() is called.

    Comment actions Permalink
    0
  • do you mean .setlogleveldevelopment ? if so what level do you want me to set it to ?

    Comment actions Permalink
    0
  • Yes.

    Go ahead and set it to "VERBOSE"

    Comment actions Permalink
    0
  • 06-22 22:51:51.812 6807-6807/com.example.thsk.hareskovskole I/InstantRun: starting instant run server: is main process
    06-22 22:51:51.847 6807-6814/com.example.thsk.hareskovskole I/art: Starting a blocking GC Instrumentation
    06-22 22:51:51.880 6807-6867/com.example.thsk.hareskovskole I/HareskovSkole - UALib: Airship taking off!
    06-22 22:51:51.880 6807-6867/com.example.thsk.hareskovskole I/HareskovSkole - UALib: Airship log level: 2
    06-22 22:51:51.880 6807-6867/com.example.thsk.hareskovskole I/HareskovSkole - UALib: UA Version: 8.6.0 / App key = RM5XqGBVTzyEWzZv58qwvA Production = true
    06-22 22:51:51.917 29499-29544/system_process W/AppOps: Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
    06-22 22:51:52.060 6807-6867/com.example.thsk.hareskovskole W/GooglePlayServicesUtil: Google Play services out of date. Requires 11011000 but found 10298470
    06-22 22:51:52.063 6807-6867/com.example.thsk.hareskovskole E/HareskovSkole - UALib: Google Play services is currently unavailable.
    06-22 22:51:52.188 6807-6807/com.example.thsk.hareskovskole W/art: 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
    06-22 22:51:52.219 6807-6867/com.example.thsk.hareskovskole D/HareskovSkole - UALib: RichPushUser - Updating user.
    06-22 22:51:52.224 6807-6867/com.example.thsk.hareskovskole W/GooglePlayServicesUtil: Google Play services out of date. Requires 11011000 but found 10298470
    06-22 22:51:52.249 6807-6867/com.example.thsk.hareskovskole V/HareskovSkole - UALib: InAppMessageManager - App foregrounded.
    06-22 22:51:52.251 6807-6876/com.example.thsk.hareskovskole V/HareskovSkole - UALib: UALocationProvider - Attempting to connect to location adapter: com.urbanairship.location.StandardLocationAdapter@84e8215
    06-22 22:51:52.251 6807-6876/com.example.thsk.hareskovskole V/HareskovSkole - UALib: UALocationProvider - Connected to location adapter: com.urbanairship.location.StandardLocationAdapter@84e8215
    06-22 22:51:52.252 6807-6867/com.example.thsk.hareskovskole D/HareskovSkole - UALib: Analytics - New session: 8843ffd2-7b0d-4308-a84e-23ae8c33126a
    06-22 22:51:52.252 6807-6807/com.example.thsk.hareskovskole I/TextInputLayout: EditText added is not a TextInputEditText. Please switch to using that class instead.
    06-22 22:51:52.253 6807-6867/com.example.thsk.hareskovskole D/HareskovSkole - UALib: Analytics - New session: 303b69bb-c1a1-4058-bcd3-9b1e6b473686
    06-22 22:51:52.257 6807-6807/com.example.thsk.hareskovskole I/TextInputLayout: EditText added is not a TextInputEditText. Please switch to using that class instead.
    06-22 22:51:52.275 6807-6807/com.example.thsk.hareskovskole V/HareskovSkole - UALib: InAppMessageManager - Activity resumed: com.example.thsk.hareskovskole.MainActivity@4dcb3b2
    06-22 22:51:52.276 6807-6867/com.example.thsk.hareskovskole V/HareskovSkole - UALib: Analytics - Adding event: app_foreground
    06-22 22:51:52.287 1329-1402/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
    06-22 22:51:52.288 6807-6867/com.example.thsk.hareskovskole I/HareskovSkole - UALib: Airship ready!
    06-22 22:51:52.288 6807-6867/com.example.thsk.hareskovskole I/HareskovSkole - UALib: Autopilot - Airship ready!
    06-22 22:51:52.294 6807-6880/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AnalyticsJobHandler - Received jobInfo with action: com.urbanairship.analytics.ADD

    [ 06-22 22:51:52.312 6807: 6807 D/ ]
    HostConnection::get() New Host Connection established 0xa4d26340, tid 6807
    06-22 22:51:52.319 6807-6880/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AnalyticsJobHandler - Requesting to schedule event upload with delay 10000ms.
    06-22 22:51:52.319 6807-6880/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AnalyticsJobHandler - Scheduling event uploads in 10000ms.
    06-22 22:51:52.321 6807-6880/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AlarmScheduler - Scheduling jobInfo: JobInfo{action='com.urbanairship.analytics.SEND', airshipComponentName='com.urbanairship.analytics.Analytics', tag='com.urbanairship.analytics.SEND', isNetworkAccessRequired=true, initialDelay=10000, persistent=false} with delay: 10000
    06-22 22:51:52.323 6807-6880/com.example.thsk.hareskovskole V/HareskovSkole - UALib: JobDispatcher - Job finished: Job{isLongRunning=false, jobInfo=JobInfo{action='com.urbanairship.analytics.ADD', airshipComponentName='com.urbanairship.analytics.Analytics', tag='13b9b9b4-4176-4cdc-a5e0-ac87e7befe2d', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} with result: 0
    06-22 22:51:52.323 6807-6881/com.example.thsk.hareskovskole V/HareskovSkole - UALib: PreferenceDataStore - Saving preference: com.urbanairship.analytics.SCHEDULED_SEND_TIME value: 1498164722319
    06-22 22:51:52.326 6807-6807/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.example.thsk.hareskovskole/com.urbanairship.AirshipService (has extras) }
    06-22 22:51:52.326 6807-6807/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.example.thsk.hareskovskole/com.urbanairship.AirshipService (has extras) }
    06-22 22:51:52.327 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.richpush.USER_UPDATE', airshipComponentName='com.urbanairship.richpush.RichPushInbox', tag='fe44de38-2456-423d-8a31-e228f7a66fe3', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} taskId: 1
    06-22 22:51:52.327 6807-6807/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.example.thsk.hareskovskole/com.urbanairship.AirshipService (has extras) }
    06-22 22:51:52.328 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_START_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='6472e012-e587-4070-8db2-9adf12b5775b', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} taskId: 2
    06-22 22:51:52.329 6807-6807/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.example.thsk.hareskovskole/com.urbanairship.AirshipService (has extras) }
    06-22 22:51:52.329 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_TAG_GROUPS', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_TAG_GROUPS', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} taskId: 3
    06-22 22:51:52.331 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_NAMED_USER', airshipComponentName='com.urbanairship.push.NamedUser', tag='com.urbanairship.push.ACTION_UPDATE_NAMED_USER', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} taskId: 4
    06-22 22:51:52.342 6807-6883/com.example.thsk.hareskovskole V/HareskovSkole - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.richpush.USER_UPDATE', airshipComponentName='com.urbanairship.richpush.RichPushInbox', tag='fe44de38-2456-423d-8a31-e228f7a66fe3', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} with result: 0
    06-22 22:51:52.345 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Component finished job with startId: 1
    06-22 22:51:52.348 6807-6884/com.example.thsk.hareskovskole W/GooglePlayServicesUtil: Google Play services out of date. Requires 11011000 but found 10298470
    06-22 22:51:52.348 6807-6884/com.example.thsk.hareskovskole E/HareskovSkole - UALib: Google Play services is currently unavailable.
    06-22 22:51:52.351 6807-6884/com.example.thsk.hareskovskole V/HareskovSkole - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_START_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='6472e012-e587-4070-8db2-9adf12b5775b', isNetworkAccessRequired=false, initialDelay=0, persistent=false}} with result: 0
    06-22 22:51:52.352 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Component finished job with startId: 2
    06-22 22:51:52.356 6807-6884/com.example.thsk.hareskovskole V/HareskovSkole - UALib: ChannelJobHandler - No pending tag group updates. Skipping update.
    06-22 22:51:52.356 6807-6884/com.example.thsk.hareskovskole V/HareskovSkole - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_TAG_GROUPS', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_TAG_GROUPS', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} with result: 0
    06-22 22:51:52.356 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Component finished job with startId: 3
    06-22 22:51:52.358 6807-6885/com.example.thsk.hareskovskole V/HareskovSkole - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_NAMED_USER', airshipComponentName='com.urbanairship.push.NamedUser', tag='com.urbanairship.push.ACTION_UPDATE_NAMED_USER', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} with result: 0
    06-22 22:51:52.358 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Component finished job with startId: 4
    06-22 22:51:52.358 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - All jobs finished, stopping with last startId: 4

    [ 06-22 22:51:52.390 6807: 6879 D/ ]
    HostConnection::get() New Host Connection established 0xa2d35200, tid 6879
    06-22 22:51:52.390 1329-1880/? D/gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
    06-22 22:51:52.401 6807-6879/com.example.thsk.hareskovskole W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
    06-22 22:51:52.404 1329-1880/? D/gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
    06-22 22:51:52.429 1329-1880/? D/gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
    06-22 22:51:52.499 6807-6807/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cmp=com.example.thsk.hareskovskole/com.urbanairship.AirshipService (has extras) }
    06-22 22:51:52.500 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} taskId: 5
    06-22 22:51:52.502 6807-6884/com.example.thsk.hareskovskole V/HareskovSkole - UALib: ChannelJobHandler - Performing channel registration.
    06-22 22:51:52.511 6807-6884/com.example.thsk.hareskovskole V/HareskovSkole - UALib: ChannelJobHandler - Channel already up to date.
    06-22 22:51:52.511 6807-6884/com.example.thsk.hareskovskole V/HareskovSkole - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', airshipComponentName='com.urbanairship.push.PushManager', tag='com.urbanairship.push.ACTION_UPDATE_CHANNEL_REGISTRATION', isNetworkAccessRequired=true, initialDelay=0, persistent=false}} with result: 0
    06-22 22:51:52.512 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Component finished job with startId: 5
    06-22 22:51:52.512 6807-6882/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - All jobs finished, stopping with last startId: 5
    06-22 22:51:52.706 1329-1329/? W/SurfaceFlinger: couldn't log to binary event log: overflow.
    06-22 22:51:52.826 29499-29544/system_process D/gralloc_ranchu: gralloc_unregister_buffer: exiting HostConnection (is buffer-handling thread)
    06-22 22:52:02.325 6807-6807/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Received intent: Intent { act=RUN_JOB cat=[com.urbanairship.analytics.SEND] flg=0x4 cmp=com.example.thsk.hareskovskole/com.urbanairship.AirshipService (has extras) }
    06-22 22:52:02.326 6807-7042/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Starting job: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.analytics.SEND', airshipComponentName='com.urbanairship.analytics.Analytics', tag='com.urbanairship.analytics.SEND', isNetworkAccessRequired=true, initialDelay=10000, persistent=false}} taskId: 1
    06-22 22:52:02.327 6807-6880/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AnalyticsJobHandler - Received jobInfo with action: com.urbanairship.analytics.SEND
    06-22 22:52:02.328 6807-6881/com.example.thsk.hareskovskole V/HareskovSkole - UALib: PreferenceDataStore - Saving preference: com.urbanairship.analytics.LAST_SEND value: 1498164722328
    06-22 22:52:02.341 6807-6880/com.example.thsk.hareskovskole D/HareskovSkole - UALib: EventApiClient - Sending analytic events. Request: com.urbanairship.http.Request@4c286aa Events: [{"event_id":"6c44abd2-e4f3-4db6-b92a-c8ddb24a7e57","time":"1498164712.253","type":"app_foreground","data":{"package_version":"1.0","time_zone":7200,"connection_type":"cell","carrier":"Android","notification_types":["sound","vibrate"],"session_id":"303b69bb-c1a1-4058-bcd3-9b1e6b473686","daylight_savings":true,"os_version":"7.1.1","lib_version":"8.6.0","connection_subtype":"LTE"}}]
    06-22 22:52:02.343 6807-6880/com.example.thsk.hareskovskole D/NetworkSecurityConfig: No Network Security Config specified, using platform default
    06-22 22:52:02.667 6807-6880/com.example.thsk.hareskovskole D/HareskovSkole - UALib: EventApiClient - Analytic event send response: Response: ResponseBody: ResponseHeaders: {null=[HTTP/1.1 200 OK], Cache-Control=[max-age=0, no-cache, no-store], Connection=[keep-alive], Content-Type=[application/json], Date=[Thu, 22 Jun 2017 20:52:02 GMT], Expires=[Thu, 22 Jun 2017 20:52:02 GMT], Pragma=[no-cache], Server=[nginx/1.6.2], Vary=[Accept-Encoding], X-Android-Received-Millis=[1498164722660], X-Android-Response-Source=[NETWORK 200], X-Android-Selected-Protocol=[http/1.1], X-Android-Sent-Millis=[1498164722505], X-UA-Max-Batch=[500], X-UA-Max-Total=[5120], X-UA-Max-Wait=[604800000], X-UA-Min-Batch-Interval=[60000]} ResponseMessage: OK Status: 200
    06-22 22:52:02.668 6807-6880/com.example.thsk.hareskovskole D/HareskovSkole - UALib: Analytic events uploaded.
    06-22 22:52:02.672 6807-6880/com.example.thsk.hareskovskole V/HareskovSkole - UALib: JobDispatcher - Job finished: Job{isLongRunning=true, jobInfo=JobInfo{action='com.urbanairship.analytics.SEND', airshipComponentName='com.urbanairship.analytics.Analytics', tag='com.urbanairship.analytics.SEND', isNetworkAccessRequired=true, initialDelay=10000, persistent=false}} with result: 0
    06-22 22:52:02.672 6807-7042/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - Component finished job with startId: 1
    06-22 22:52:02.672 6807-7042/com.example.thsk.hareskovskole V/HareskovSkole - UALib: AirshipService - All jobs finished, stopping with last startId: 1

    Comment actions Permalink
    0
  • Apologies for asking again, but were the verbose logs from the emulator, or the real device?

    Comment actions Permalink
    0
  • The real device :)

    And thanks for your time trying to solve my problem

    Comment actions Permalink
    0
  • Okay, looks like we have the same thing for the real device as well

    W/GooglePlayServicesUtil: Google Play services out of date. Requires 11011000 but found 10298470.

    See if you can't downgrade the Play Services in your gradle file and see if that fixes that particular error.

    Comment actions Permalink
    0

Please sign in to leave a comment.