We are using on premise and 20.8.0.dev0.
sentry-android-gradle-plugin:1.7.32
io.sentry:sentry-android:3.1.0
On the app launch I get this log:
2020-11-05 00:58:34.100 17964-17964/? I/Sentry: Not possible to read external files directory
2020-11-05 00:58:39.137 18072-18072/? D/Sentry: Auto-init: true
2020-11-05 00:58:39.138 18072-18072/? I/Sentry: Retrieving auto-init from AndroidManifest.xml
2020-11-05 00:58:39.163 18072-18086/? I/Sentry: sentry-debug-meta.properties file was not found.
2020-11-05 00:58:39.168 18072-18086/? D/Sentry: SU doesn’t exist.
java.io.IOException: Cannot run program “/system/xbin/which”: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:692)
at java.lang.Runtime.exec(Runtime.java:560)
at io.sentry.android.core.util.RootChecker.checkSUExist(Unknown Source:12)
at io.sentry.android.core.util.RootChecker.isDeviceRooted(Unknown Source:12)
at io.sentry.android.core.DefaultAndroidEventProcessor.loadContextData(Unknown Source:18)
at io.sentry.android.core.DefaultAndroidEventProcessor.a(Unknown Source:0)
at io.sentry.android.core.f.call(Unknown Source:2)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:133)
at java.lang.ProcessImpl.start(ProcessImpl.java:128)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:692)
at java.lang.Runtime.exec(Runtime.java:560)
at io.sentry.android.core.util.RootChecker.checkSUExist(Unknown Source:12)
at io.sentry.android.core.util.RootChecker.isDeviceRooted(Unknown Source:12)
at io.sentry.android.core.DefaultAndroidEventProcessor.loadContextData(Unknown Source:18)
at io.sentry.android.core.DefaultAndroidEventProcessor.a(Unknown Source:0)
at io.sentry.android.core.f.call(Unknown Source:2)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
2020-11-05 00:58:41.424 18072-18072/? I/Sentry: Not possible to read external files directory
2020-11-05 01:00:31.680 18189-18189/? D/Sentry: Auto-init: true
2020-11-05 01:00:31.680 18189-18189/? I/Sentry: Retrieving auto-init from AndroidManifest.xml
2020-11-05 01:00:31.830 18189-18213/? D/Sentry: Proguard UUID found: 76129692-6241-5769-8c09-3b62405b628d
And logs when it tries to send and event :
2020-11-05 09:57:16.807 19877-19877/? D/Sentry: Capturing event: 5043bea427e043989afa03e28bbaf6ce
2020-11-05 09:57:16.828 19877-19877/? I/Sentry: Not possible to read external files directory
2020-11-05 09:57:16.831 19877-19903/? W/Sentry: Cache folder if full (respecting maxSize). Rotating files
2020-11-05 09:57:16.836 19877-19903/? D/Sentry: Session fbf8ccb5-53eb-4c0d-8e90-bcc92ed9d9c7 has 2 times the init flag.
2020-11-05 09:57:16.837 19877-19903/? D/Sentry: Adding Envelope to offline storage: /data/user/0/com.avecare.hwcccc_guardian.qa/cache/sentry/5043bea427e043989afa03e28bbaf6ce.envelope
2020-11-05 09:57:17.149 19877-19903/? D/Sentry: Hint is not Retryable
2020-11-05 09:57:17.150 19877-19903/? E/Sentry: Envelope submission failed
2020-11-05 09:57:24.961 19989-19989/? D/Sentry: Auto-init: true
2020-11-05 09:57:24.961 19989-19989/? I/Sentry: Retrieving auto-init from AndroidManifest.xml
2020-11-05 09:57:25.046 19989-19989/? D/Sentry: debug read: true
2020-11-05 09:57:25.046 19989-19989/? D/Sentry: anrEnabled read: true
2020-11-05 09:57:25.046 19989-19989/? D/Sentry: sessionTrackingEnabled read: true
2020-11-05 09:57:25.046 19989-19989/? D/Sentry: sampleRate read: -1.0
2020-11-05 09:57:25.046 19989-19989/? D/Sentry: anrReportInDebug read: false
2020-11-05 09:57:25.046 19989-19989/? D/Sentry: anrTimeoutIntervalMillis read: 5000
2020-11-05 09:57:25.046 19989-19989/? D/Sentry: NDK read: true
2020-11-05 09:57:25.046 19989-19989/? D/Sentry: ndkScopeSync read: false
2020-11-05 09:57:25.047 19989-19989/? D/Sentry: release read: null
2020-11-05 09:57:25.047 19989-19989/? D/Sentry: environment read: null
2020-11-05 09:57:25.047 19989-19989/? D/Sentry: sessionTrackingTimeoutIntervalMillis read: 30000
2020-11-05 09:57:25.047 19989-19989/? D/Sentry: enableActivityLifecycleBreadcrumbs read: true
2020-11-05 09:57:25.047 19989-19989/? D/Sentry: enableAppLifecycleBreadcrumbs read: true
2020-11-05 09:57:25.047 19989-19989/? D/Sentry: enableSystemEventBreadcrumbs read: true
2020-11-05 09:57:25.047 19989-19989/? D/Sentry: enableAppComponentBreadcrumbs read: true
2020-11-05 09:57:25.047 19989-19989/? D/Sentry: enableUncaughtExceptionHandler read: true
2020-11-05 09:57:25.047 19989-19989/? I/Sentry: Retrieving configuration from AndroidManifest.xml
2020-11-05 09:57:25.099 19989-20008/? D/Sentry: Proguard UUID found: 76129692-6241-5769-8c09-3b62405b628d
2020-11-05 09:57:25.099 19989-19989/? I/Sentry: GlobalHubMode: 'true’
2020-11-05 09:57:25.108 19989-19989/? D/Sentry: UncaughtExceptionHandlerIntegration enabled: true
2020-11-05 09:57:25.108 19989-19989/? D/Sentry: default UncaughtExceptionHandler class='com.android.internal.os.RuntimeInit$KillApplicationHandler’
2020-11-05 09:57:25.108 19989-19989/? D/Sentry: UncaughtExceptionHandlerIntegration installed.
2020-11-05 09:57:25.110 19989-19989/? D/Sentry: SendCachedEventFireAndForgetIntegration installed.
2020-11-05 09:57:25.110 19989-19989/? D/Sentry: NdkIntegration enabled: true
2020-11-05 09:57:25.111 19989-19989/? I/sentry-native: using database path "/data/data/com.avecare.hwcccc_guardian.qa/cache/sentry/.sentry-native"
2020-11-05 09:57:25.111 19989-19989/? D/sentry-native: starting backend
2020-11-05 09:57:25.115 19989-19989/? D/Sentry: NdkIntegration installed.
2020-11-05 09:57:25.115 19989-19989/? D/Sentry: Registering EnvelopeFileObserverIntegration for path: /data/user/0/com.avecare.hwcccc_guardian.qa/cache/sentry/outbox