question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

android app takes a long time to start

See original GitHub issue

After some update jitsi starts take more than 7 seconds to start. 20.2.3 build 202030 from F-Droid Android 10 & 9

ScreenRecord-2020-06-24-03-08-29

adb logcat | grep -i jitsi

03:04:10.907 29285 10186 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.jitsi.meet/.MainActivity bnds=[613,764][758,934]} from uid 10018 
03:04:10.965 29285 29302 I ActivityManager: Start proc 12760:org.jitsi.meet/u0a307 for activity org.jitsi.meet/.MainActivity
03:04:11.054 12760 12760 D SoLoader: adding application source: com.facebook.soloader.c[root = /data/app/org.jitsi.meet-xXZgXa2CLHHiXmVkYPzbIA==/lib/arm64 flags = 0]
03:04:11.054 12760 12760 D SoLoader: adding backup source from : com.facebook.soloader.a[root = /data/data/org.jitsi.meet/lib-main flags = 1]
03:04:11.055 12760 12760 D SoLoader: Preparing SO source: com.facebook.soloader.c[root = /data/app/org.jitsi.meet-xXZgXa2CLHHiXmVkYPzbIA==/lib/arm64 flags = 0]
03:04:11.055 12760 12760 D SoLoader: Preparing SO source: com.facebook.soloader.a[root = /data/data/org.jitsi.meet/lib-main flags = 1]
03:04:11.055 12760 12760 V fb-UnpackingSoSource: locked dso store /data/user/0/org.jitsi.meet/lib-main
03:04:11.056 12760 12760 I fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/org.jitsi.meet/lib-main
03:04:11.056 12760 12760 V fb-UnpackingSoSource: releasing dso store lock for /data/user/0/org.jitsi.meet/lib-main
03:04:11.063 12760 12777 D SoLoader: libhermes.so not found on /data/data/org.jitsi.meet/lib-main
03:04:11.064 12760 12777 D SoLoader: libhermes.so found on /data/app/org.jitsi.meet-xXZgXa2CLHHiXmVkYPzbIA==/lib/arm64
03:04:11.070 12760 12777 D SoLoader: libhermes-executor-release.so not found on /data/data/org.jitsi.meet/lib-main
03:04:11.070 12760 12777 D SoLoader: libhermes-executor-release.so found on /data/app/org.jitsi.meet-xXZgXa2CLHHiXmVkYPzbIA==/lib/arm64
03:04:11.080 12760 12777 D SoLoader: libfb.so not found on /data/data/org.jitsi.meet/lib-main
03:04:11.080 12760 12777 D SoLoader: libfb.so found on /data/app/org.jitsi.meet-xXZgXa2CLHHiXmVkYPzbIA==/lib/arm64
03:04:11.081 12760 12777 D SoLoader: libfb.so not found on /data/data/org.jitsi.meet/lib-main
03:04:11.081 12760 12777 D SoLoader: libfb.so found on /data/app/org.jitsi.meet-xXZgXa2CLHHiXmVkYPzbIA==/lib/arm64
03:04:11.081 12760 12777 I org.jitsi.meet: Thread[12,tid=12777,Native,Thread*=0x7801b37400,peer=0x20f6d6f0,"create_react_context"] recursive attempt to load library "/data/app/org.jitsi.meet-xXZgXa2CLHHiXmVkYPzbIA==/lib/arm64/libfb.so"
03:04:11.108 12760 12777 D SoLoader: libreactnativejni.so not found on /data/data/org.jitsi.meet/lib-main
03:04:11.109 12760 12777 D SoLoader: libreactnativejni.so found on /data/app/org.jitsi.meet-xXZgXa2CLHHiXmVkYPzbIA==/lib/arm64
03:04:11.255 29285 29299 I ActivityManager: Displayed org.jitsi.meet/.MainActivity: +258ms
03:04:11.272   566   606 W SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen org.jitsi.meet#0
03:04:11.273   566   606 W SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen org.jitsi.meet#0
03:04:11.286   566   606 W SurfaceFlinger: Attempting to set client state on removed layer: Surface(name=AppWindowToken{e5255ea token=Token{9eb59d5 ActivityRecord{2b59e8c u0 org.jitsi.meet/.MainActivity t2414}}})/@0xcf76245 - animation-leash#0
03:04:11.286   566   606 W SurfaceFlinger: Attempting to destroy on removed layer: Surface(name=AppWindowToken{e5255ea token=Token{9eb59d5 ActivityRecord{2b59e8c u0 org.jitsi.meet/.MainActivity t2414}}})/@0xcf76245 - animation-leash#0
03:04:11.310 12760 12785 D SoLoader: libyoga.so not found on /data/data/org.jitsi.meet/lib-main
03:04:11.310 12760 12785 D SoLoader: libyoga.so found on /data/app/org.jitsi.meet-xXZgXa2CLHHiXmVkYPzbIA==/lib/arm64
03:04:11.342 12760 12794 I JitsiMeetSDK: Using AudioDeviceHandlerConnectionService as the audio device handler
03:04:12.022 12760 12784 D SoLoader: libreactnativeblob.so not found on /data/data/org.jitsi.meet/lib-main
03:04:12.022 12760 12784 D SoLoader: libreactnativeblob.so found on /data/app/org.jitsi.meet-xXZgXa2CLHHiXmVkYPzbIA==/lib/arm64
03:04:15.291 12760 12784 I ReactNativeJS: '2020-06-24T00:04:15.284Z', '[modules/browser/BrowserCapabilities.js]', 'This appears to be react-native, ver: 0.61.5-jitsi.1'
03:04:17.165 12760 12794 I JitsiMeetSDK: AudioMode Update audio route for mode: 0
03:04:17.165 12760 12785 I JitsiMeetSDK: [features/base/net-info] Network changed {"isOnline":true,"details":{"isConnectionExpensive":false},"networkType":"wifi"}
03:04:17.166 12760 12794 I JitsiMeetSDK: AudioMode Updating audio device list
03:04:17.179 12760 12785 D JitsiMeetSDK: [features/base/lastn] There is no active conference, not updating last N
03:04:17.213 12760 12794 I JitsiMeetSDK: Using AudioDeviceHandlerGeneric as the audio device handler
03:04:17.225 12760 12760 D JitsiMeetSDK: AudioDeviceHandlerGeneric Audio devices added 
03:04:17.226 12760 12794 I JitsiMeetSDK: AudioDeviceHandlerGeneric Available audio devices: [EARPIECE, BLUETOOTH, SPEAKER]
03:04:17.226 12760 12794 I JitsiMeetSDK: AudioMode Update audio route for mode: 0
03:04:17.235 12760 12803 D SoLoader: libimagepipeline.so not found on /data/data/org.jitsi.meet/lib-main
03:04:17.235 12760 12803 D SoLoader: libimagepipeline.so found on /data/app/org.jitsi.meet-xXZgXa2CLHHiXmVkYPzbIA==/lib/arm64
03:04:17.241 12760 12785 I JitsiMeetSDK: [features/base/connection] No connection found while disconnecting.
03:04:17.279 29285 10186 I MediaFocusControl: abandonAudioFocus() from uid/pid 10307/12760 clientId=android.media.AudioManager@a081d04org.jitsi.meet.sdk.AudioDeviceHandlerGeneric@363c2ed
03:04:17.284 12760 12794 I JitsiMeetSDK: AudioDeviceHandlerGeneric Available audio devices: [EARPIECE, BLUETOOTH, SPEAKER]
03:04:17.284 12760 12794 I JitsiMeetSDK: AudioMode Update audio route for mode: 0
03:04:17.299 12760 12785 I JitsiMeetSDK: [modules/RTC/ScreenObtainer.js] Screen sharing not supported by the current browser:  react-native
03:04:17.307 12760 12785 I JitsiMeetSDK: [modules/RTC/ScreenObtainer.js] Desktop sharing disabled
03:04:17.308 12760 12785 I JitsiMeetSDK: [features/base/media] Start muted: 
03:04:17.316 12760 12785 I JitsiMeetSDK: [features/base/media] Start audio only set to false 
03:04:17.339 29285 29296 I MediaFocusControl: abandonAudioFocus() from uid/pid 10307/12760 clientId=android.media.AudioManager@a081d04org.jitsi.meet.sdk.AudioDeviceHandlerGeneric@363c2ed
03:04:17.343 12760 12794 I JitsiMeetSDK: AudioMode Updating audio device list
03:04:17.343 12760 12794 I JitsiMeetSDK: Using AudioDeviceHandlerGeneric as the audio device handler
03:04:17.345 12760 12760 D JitsiMeetSDK: AudioDeviceHandlerGeneric Audio devices added 
03:04:17.347 12760 12794 I JitsiMeetSDK: AudioMode Updating audio device list
03:04:17.347 12760 12794 I JitsiMeetSDK: AudioDeviceHandlerGeneric Available audio devices: [EARPIECE, BLUETOOTH, SPEAKER]
03:04:17.347 12760 12794 I JitsiMeetSDK: AudioMode Update audio route for mode: 0
03:04:17.392 29285 10186 I MediaFocusControl: abandonAudioFocus() from uid/pid 10307/12760 clientId=android.media.AudioManager@a081d04org.jitsi.meet.sdk.AudioDeviceHandlerGeneric@f039bb3
03:04:17.395 12760 12794 I JitsiMeetSDK: AudioDeviceHandlerGeneric Available audio devices: [EARPIECE, BLUETOOTH, SPEAKER]
03:04:17.395 12760 12794 I JitsiMeetSDK: AudioMode Update audio route for mode: 0
03:04:17.441 29285 29296 I MediaFocusControl: abandonAudioFocus() from uid/pid 10307/12760 clientId=android.media.AudioManager@a081d04org.jitsi.meet.sdk.AudioDeviceHandlerGeneric@f039bb3
03:04:17.447 12760 12794 I JitsiMeetSDK: AudioMode Updating audio device list
03:04:17.447 12760 12794 I JitsiMeetSDK: AudioMode Updating audio device list
03:04:17.480 12760 12785 D JitsiMeetSDK: [features/analytics] Loaded 0 analytics handlers
03:04:17.874 12760 12785 W JitsiMeetSDK: [modules/statistics/AnalyticsAdapter.js] Disposing of analytics adapter.
03:04:17.875 12760 12785 E JitsiMeetSDK: [features/analytics] Error(Error){"message":"No analytics handlers created!","stack":"Error: No analytics handlers created!\n    at anonymous (index.android.bundle:394:1131)\n    at f (index.android.bundle:109:155)\n    at anonymous (index.android.bundle:109:882)\n    at apply (native)\n    at anonymous (index.android.bundle:115:1783)\n    at y (index.android.bundle:115:661)\n    at C (index.android.bundle:115:1025)\n    at callImmediates (index.android.bundle:115:3100)\n    at value (native)\n    at anonymous (index.android.bundle:37:1283)\n    at value (index.android.bundle:37:2939)\n    at value (index.android.bundle:37:1253)\n    at value (native)"}
03:04:17.893 12760 12785 D JitsiMeetSDK: [features/base/lastn] There is no active conference, not updating last N
03:04:17.915 12760 12785 D JitsiMeetSDK: [modules/RTC/RTCUtils.js] Available devices:  [ { kind: 'videoinput',
03:04:17.915 12760 12785 D JitsiMeetSDK:     label: '0',
03:04:17.915 12760 12785 D JitsiMeetSDK:     groupId: '',
03:04:17.915 12760 12785 D JitsiMeetSDK:     deviceId: '0',
03:04:17.915 12760 12785 D JitsiMeetSDK:     facing: 'environment' },
03:04:17.915 12760 12785 D JitsiMeetSDK:   { kind: 'videoinput',
03:04:17.915 12760 12785 D JitsiMeetSDK:     label: '1',
03:04:17.915 12760 12785 D JitsiMeetSDK:     groupId: '',
03:04:17.915 12760 12785 D JitsiMeetSDK:     deviceId: '1',
03:04:17.915 12760 12785 D JitsiMeetSDK:     facing: 'front' },
03:04:17.915 12760 12785 D JitsiMeetSDK:   { kind: 'audioinput',
03:04:17.915 12760 12785 D JitsiMeetSDK:     label: 'Audio',
03:04:17.915 12760 12785 D JitsiMeetSDK:     groupId: '',
03:04:17.915 12760 12785 D JitsiMeetSDK:     deviceId: 'audio-1' } ]
03:04:17.928 12760 12785 I JitsiMeetSDK: [modules/RTC/RTCUtils.js] Get media constraints { audio: false,
03:04:17.928 12760 12785 I JitsiMeetSDK:   video: 
03:04:17.928 12760 12785 I JitsiMeetSDK:    { mandatory: { minWidth: 1280, minHeight: 720, maxWidth: 1280, maxHeight: 720 },
03:04:17.928 12760 12785 I JitsiMeetSDK:      optional: [ [Object] ],
03:04:17.928 12760 12785 I JitsiMeetSDK:      facingMode: 'user',
03:04:17.928 12760 12785 I JitsiMeetSDK:      width: { ideal: 1280 },
03:04:17.928 12760 12785 I JitsiMeetSDK:      height: { ideal: 720 } } } 
03:04:18.015 29000 30339 I CameraService: CameraService::connect call (PID -1 "org.jitsi.meet", camera ID 1) for HAL version default and Camera API version 2
03:04:18.019 29000 30339 I Camera2ClientBase: Camera 1: Opened. Client: org.jitsi.meet (PID 12760, UID 10307)
03:04:18.051 12760 12785 I JitsiMeetSDK: [modules/RTC/RTCUtils.js] onUserMediaSuccess
03:04:18.088 12760 12785 D JitsiMeetSDK: [modules/RTC/JitsiLocalTrack.js] Setting new MSID: 14d74f73-98d0-49a0-b291-59c256187c91 1ae579d3-a9e3-4365-9ad2-9749c4b71459 on LocalTrack[undefined,video]
03:04:18.125 12760 12760 E org.jitsi.meet: No package ID ff found for ID 0xffffffff.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:37 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
532910commented, Apr 17, 2022

Still actual

1reaction
11081595scommented, Jul 21, 2020

Thanks & Hope you would post here If you find the solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

App startup time - Android Developers
App launch can take place in one of three states, each affecting how long it takes for your app to become visible to...
Read more >
Speed up a slow Android device - Google Support
Troubleshoot your phone for slowness ... On most phones, press your phone's power button for about 30 seconds, or until your phone restarts....
Read more >
android - App takes too long to start-up - Stack Overflow
I have and android app which takes >=5 seconds to show up after it's icon is clicked. As soon as I click the...
Read more >
Why is My Android Running So Slow? - Technipages
As you install more and more apps, more items may be constantly running. This can use up precious memory. Restart your Android, then...
Read more >
Top Reasons Why Your Mobile App is Slow and How to Fix it
1. Your App is Obsolete and Not Supportive · 2. Sluggishness of the Server Speed · 3. Encrypted Connections are not Optimized ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found