Android: NoClassDefFoundError: AnalyticsConnector

Created on 13 Oct 2019  ·  72Comments  ·  Source: nextcloud/android

Actual behaviour

  • normal execution of app

Expected behaviour

*** CAUSE OF ERROR ***

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/analytics/connector/AnalyticsConnector;
at com.google.firebase.messaging.MessagingAnalytics.zza(Unknown Source)
at com.google.firebase.messaging.MessagingAnalytics.logNotificationReceived(Unknown Source)
at com.google.firebase.messaging.FirebaseMessagingService.zzd(Unknown Source)
at com.google.firebase.iid.zzc.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source)
at java.lang.Thread.run(Thread.java:831)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.analytics.connector.AnalyticsConnector" on path: DexPathList[[zip file "/data/app/com.nextcloud.client-1/base.apk"],nativeLibraryDirectories=[/data/app/com.nextcloud.client-1/lib/arm64, /vendor/lib64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
... 8 more
Suppressed: java.lang.ClassNotFoundException: com.google.firebase.analytics.connector.AnalyticsConnector
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 9 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

*** APP INFORMATION ***
ID: com.nextcloud.client
Version: 30080190
Build flavor: gplay

*** DEVICE INFORMATION ***
Brand: Huawei
Device: hwALE-H
Model: ALE-L21
Id: HuaweiALE-L21
Product: ALE-L21

*** FIRMWARE ***
SDK: 21
Release: 5.0.1
Incremental: C432B20

approved bug high pr exists

All 72 comments

I got this too, multiple times a day for a while now, very annoying, basically every time I unlock my phone.
I seems it happens everytime the phone come out of sleep.

This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@tobiasKaminsky referenced and closed all duplicates, this seems to happen quite a lot.

Having this happen to me too, almost the exact same backtrace too with the newest version of the app.

************ CAUSE OF ERROR ************

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/analytics/connector/AnalyticsConnector;
    at com.google.firebase.messaging.MessagingAnalytics.zza(Unknown Source:68)
    at com.google.firebase.messaging.MessagingAnalytics.logNotificationReceived(Unknown Source:2)
    at com.google.firebase.messaging.FirebaseMessagingService.zzd(Unknown Source:50)
    at com.google.firebase.iid.zzg.run(Unknown Source:4)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:7)
    at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.analytics.connector.AnalyticsConnector" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.nextcloud.client-LTiS90daWMmAsD_F7QRCGQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.nextcloud.client-LTiS90daWMmAsD_F7QRCGQ==/lib/arm64, /data/app/com.nextcloud.client-LTiS90daWMmAsD_F7QRCGQ==/base.apk!/lib/arm64-v8a, /system/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 8 more

************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30100051
Build flavor: gplay

************ DEVICE INFORMATION ************
Brand: asus
Device: ASUS_X00QD
Model: ASUS_X00QD
Id: PPR1.180610.009
Product: WW_X00QD

************ FIRMWARE ************
SDK: 28
Release: 9
Incremental: 16.0615.1908.109-0

Seems to often happen during the night for me, with the error message greeting me many mornings, as well as occasionally sometimes during the day when I unlock my phone.

@tobiasKaminsky can you have a look at this? It keeps getting reported over and over, so fixing might be important ❤️

Happens on my Samsung tablet, but not on the Smartphone...

Isn't this the same as #4586??

To be honest, I have no clue.

We explicitly disable firebase as we do not want to have any tracking in our app:
https://github.com/nextcloud/android/blob/b8d042e1715586ea7a265db24ccb913290f6aaef/build.gradle#L51-L53
https://github.com/nextcloud/android/blob/533debfca04852c29b54a0ba745a2d7311039984/src/gplay/AndroidManifest.xml#L31-L36

Of course Gplay variant of NC app uses push notifications via firebase messaging, but this should all be self contained to work, otherwise a lot more user/devices would cause the trouble.

image

Analyzing recent apk also shows that this is in.

How and where did you installed the app?
Do you have some custom rom? Magisk etc?

I only encountered this problem once, when I had an emulator with no google APIs at all and tried to launch Gplay variant of our app.

Do you have some custom rom? Magisk etc?

I'm on OmniRom 10 with Open GApps Nano and Magisk. Perhaps some missing Google apps in the nano package?

Btw: is it expected to have that L in front of the class path?
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/analytics/connector/AnalyticsConnector;

I have this problem on a Samsung Galaxy Tab S4 with stock OS. Installed from Google Play, it does not crash on the Galaxy Smartphone.

@Chartman123 Yeah, I fear that this is something with gapps / magisk.
"L" is just a wrong debug output.

@lazyfrosch which Android version do you run?

@tobiasKaminsky that is an Android 9

I'm not that deep into Android development, but could it also be, that with some SDK version the Firebase Analytics are required to run some of the code Nextcloud is using for the notifications?

I found this in the Firebase docs from Google:

You no longer need to add the Android library com.google.firebase:firebase-core. This SDK included the Firebase SDK for Google Analytics. Now, to use Analytics (or any of the Firebase products that require or recommend the use of Analytics), you need to explicitly add the Analytics dependency: com.google.firebase:firebase-analytics:17.2.2.

https://firebase.google.com/docs/android/setup#add_firebase_to_your_app

It also states that it's recommended for Cloud Messaging

Detailed info:

************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30100090
Build flavor: gplay

************ DEVICE INFORMATION ************
Brand: samsung
Device: gts4llte
Model: SM-T835
Id: PPR1.180610.011
Product: gts4lltexx

************ FIRMWARE ************
SDK: 28
Release: 9
Incremental: T835XXU4BSJ6

This happens to me too. I have:

  • Google Nexus 6P
  • OS: LineageOS (Android 8.1)
  • Open-GApps nano
  • Magisk
************ CAUSE OF ERROR ************

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/analytics/connector/AnalyticsConnector;
    at com.google.firebase.messaging.MessagingAnalytics.zza(Unknown Source:68)
    at com.google.firebase.messaging.MessagingAnalytics.logNotificationReceived(Unknown Source:2)
    at com.google.firebase.messaging.FirebaseMessagingService.zzd(Unknown Source:50)
    at com.google.firebase.iid.zzg.run(Unknown Source:4)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
    at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:7)
    at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.analytics.connector.AnalyticsConnector" on path: DexPathList[[zip file "/data/app/com.nextcloud.client-XIV3hreoVJQb7KqdFkoWdA==/base.apk"],nativeLibraryDirectories=[/data/app/com.nextcloud.client-XIV3hreoVJQb7KqdFkoWdA==/lib/arm64, /data/app/com.nextcloud.client-XIV3hreoVJQb7KqdFkoWdA==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    ... 8 more

************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30100190
Build flavor: gplay

************ DEVICE INFORMATION ************
Brand: google
Device: angler
Model: Nexus 6P
Id: OPM7.181205.001
Product: angler

************ FIRMWARE ************
SDK: 27
Release: 8.1.0
Incremental: fef9954632

Same here:

************ CAUSE OF ERROR ************

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/analytics/connector/AnalyticsConnector;
 at com.google.firebase.messaging.MessagingAnalytics.zza(Unknown Source:68)
 at com.google.firebase.messaging.MessagingAnalytics.logNotificationReceived(Unknown Source:2)
 at com.google.firebase.messaging.FirebaseMessagingService.zzd(Unknown Source:50)
 at com.google.firebase.iid.zzg.run(Unknown Source:4)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
 at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:7)
 at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.analytics.connector.AnalyticsConnector" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.nextcloud.client-3J5837-wQ6ZBQIaMdCT0-Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.nextcloud.client-3J5837-wQ6ZBQIaMdCT0-Q==/lib/arm64, /data/app/com.nextcloud.client-3J5837-wQ6ZBQIaMdCT0-Q==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
 at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
 ... 8 more

************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30100190
Build flavor: gplay

************ DEVICE INFORMATION ************
Brand: samsung
Device: dreamlte
Model: SM-G950F
Id: PPR1.180610.011
Product: dreamltexx

************ FIRMWARE ************
SDK: 28
Release: 9
Incremental: G950FXXS6DTA1

This error appears regularly on two phones having Lineageos 16 and ResurrectionRemix with MindtheGapps installed, but the Nextcloud client 3.10.1 installed from F-Droid.

Nextcloud client 3.10.1 installed from F-Droid

If NC app is installed via Fdroid there is no Firebase at all. So it should(tm) not be causing this.

This is a bug in the Firebase libraries. If it doesn't get fixed by Google in the next minor release, I'll do a fix.

If crashes in proprietary code. How can we fix it?

On March 13, 2020 5:45:30 PM UTC, "Mario Đanić" notifications@github.com wrote:

This is a bug in the Firebase libraries. If it doesn't get fixed by
Google in the next minor release, I'll do a fix.

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/nextcloud/android/issues/4675#issuecomment-598840100

Proprietary is a very "tricky" thing in the world of JVM :)

Decompile, try-catch, compile back. Include it in the project.

Done :)

Maybe we could patch it in our global exception handler?

I guess you could try catching NoClassDefFoundError?

(where's the global exception handler btw?)

Crash handler. Check MainApp.java:246. I don't know if it can handle exceptions coming from firebase code, but we can try.

On March 13, 2020 6:16:40 PM UTC, "Mario Đanić" notifications@github.com wrote:

(where's the global exception handler btw?)

--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/nextcloud/android/issues/4675#issuecomment-598852556

looping in @tobiasKaminsky since this keeps getting reported over and over again 😞

I can now reliably trigger this issue on my devices. If I edit a calendar event in a shared calendar, the other calendar user's app will crash. I'm not sure if this is at all helpful, but I'm happy to provide additional details if so.

In Talk it seems to be fixed with bump to latest FCM version.
We will try the same :-)

I hope it was fixed at least since I don't have the issue myself :p

On Sun, 22 Mar 2020, 08:19 Tobias Kaminsky, notifications@github.com
wrote:

In Talk it seems to be fixed with bump to latest FCM version.
We will try the same :-)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nextcloud/android/issues/4675#issuecomment-602159228,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAABNMUN2XIZ2WOCOEKQLQDRIW3XVANCNFSM4JAGP7DQ
.

No one seems to be able to solve this problem.

@leenen please do not close this issue. Like I/we wrote above, either google fixes it or we workaround it.

Should this be fixed in latest Play Store beta release? 3.11

My app still crashes with the same error.

Hi Chartman,

personally I am not 100% sure if the latest beta release did ship the fix but the final release of 3.11 should have (published some hours ago).

So does 3.11.0 still crash with this error?
also looping in @tobiasKaminsky who did the fix.

My version number in the app info dialog says 3.11.0, so I think it should be the stable release.

************ CAUSE OF ERROR ************

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/analytics/connector/AnalyticsConnector;
    at com.google.firebase.messaging.zzo.zza(com.google.firebase:firebase-messaging@@20.1.3:120)
    at com.google.firebase.messaging.zzo.zza(com.google.firebase:firebase-messaging@@20.1.3:1)
    at com.google.firebase.messaging.FirebaseMessagingService.zzc(com.google.firebase:firebase-messaging@@20.1.3:50)
    at com.google.firebase.messaging.zze.run(com.google.firebase:firebase-messaging@@20.1.3:2)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:6)
    at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.analytics.connector.AnalyticsConnector
    ... 8 more

************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30110090
Build flavor: gplay

************ DEVICE INFORMATION ************
Brand: OnePlus
Device: OnePlus6
Model: ONEPLUS A6003
Id: QQ2A.200305.003
Product: OnePlus6

************ FIRMWARE ************
SDK: 29
Release: 10
Incremental: 25

We updated to latest FCM, but it still seems to happen…
@mario sadly it does not help, it seems :/

I uninstalled and re-installed the app and it seems to kind of work at the moment... I don't get the push notification at the moment, but the app doesn't crash when I interact with the notifications within the app.

Edit:
Apparently it only works the first time the app runs... After I closed the app in the app settings, now the app crashes again :/

Strange thing: The app crashes only on notifications from two of my Nextcloud instances. From the third one everything works fine, even after a force close of the app. So it might not only be app related... The servers are all on latest stable 18.0.3, the only real difference I can see is the underlying database: the two servers with the crashes use MySQL, the other PostgreSQL. Perhaps there are also differences in the PHP config, as the first two are shared hosters.

The problem persists in 3.11, but strangely it doesn't happen on all clients.

@Chartman123 can I get an account from the crashing one?
Can you create us a test account and send the credentials to tobias at nextcloud dot com with a reference to this issue?

@tobiasKaminsky I've created an account for you on one of the crashing servers.

@tobiasKaminsky Did you receive the invitation mail?

I'm also happy to establish test accounts on my instance. I can do both LDAP and non-LDAP logins and am happy to make configuration changes to help test if that would be helpful.

Happens to me, too.
Just happens at random on notification prompts or shortly thereafter.


*** CAUSE OF ERROR ***

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/analytics/connector/AnalyticsConnector;
at com.google.firebase.messaging.zzo.zza(com.google.firebase:firebase-messaging@@20.1.3:120)
at com.google.firebase.messaging.zzo.zza(com.google.firebase:firebase-messaging@@20.1.3:1)
at com.google.firebase.messaging.FirebaseMessagingService.zzc(com.google.firebase:firebase-messaging@@20.1.3:50)
at com.google.firebase.messaging.zze.run(com.google.firebase:firebase-messaging@@20.1.3:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:6)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.analytics.connector.AnalyticsConnector" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.nextcloud.client-27VxS6aQ91yFJk_114JNPg==/base.apk"],nativeLibraryDirectories=[/data/app/com.nextcloud.client-27VxS6aQ91yFJk_114JNPg==/lib/arm64, /data/app/com.nextcloud.client-27VxS6aQ91yFJk_114JNPg==/base.apk!/lib/arm64-v8a, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 8 more

*** APP INFORMATION ***
ID: com.nextcloud.client
Version: 30110090
Build flavor: gplay

*** DEVICE INFORMATION ***
Brand: OnePlus
Device: OnePlus5T
Model: ONEPLUS A5010
Id: PKQ1.180716.001
Product: OnePlus5T

*** FIRMWARE ***
SDK: 28
Release: 9
Incremental: 2002242012

@tobiasKaminsky At the moment, without changing anything but recreating the connections in the app, all my servers work fine. I'll post an update, if this changes again.

I can reproduce it if I get a notification from Nextcloud Talk. The Nextcloud client immediately crashes with the NoClassDefFoundError getting shown.

The strange thing is that on another device not all notifications are shown/received so the crash doesn't happen there but notifications are partially missing which is probably another bug.

I can reproduce this too. If i get any notification (like Two-Factor Authentication via Nextcloud notification) this kills my app.

AppVersion = 30110190

Any update on this? I think a lot of people experience this problem. Many issues were opened already.
Furthermore, it is a quite annoying bug because the app suddenly crashes in a lot of different situations.

No real clue…unfortunately.
I do not have any device (out ouf 10 test devices) that is suffering from this.
So it is really hard to reproduce.
Furthermore it seems more to be a bug from firebase.

I tested a bit.
When I switched app version / fcm version I could once reproduce this crash.

I created now a new version, signed with official NC key, which can be installed as an update to existing 3.12. version: https://cloud.nextcloud.com/s/5LqAMD7bp2N6a89

Can some of you please give it a try?
If this still crashes, please remove the app and reinstall it.

Thanks for helping!

Note for me: 17.3.4 of firebase-messaging

Any feedback? :-)

With the current Play Store Version (3.12.0) it does not happen to me any more.
I must admit, that I uninstalled, intalled the F-Droid Version and cleared all the settings in between.

I didn't have any problems since my last post 👍

I can reliably reproduce the bug by sending a message with the following command:
sudo -u www-data php occ notification:generate user testmessage
The exception will occur either immediately upon receiving the push or after trying to delete the message in the Nextcloud app's Notifications menu.
And this happens both on my old Huawei P9 (Android 7) and on the new P30 Lite (Android 10).

Unfortunately the exception occurs also with the test app by @tobiasKaminsky.
Clearing the cache did not help. Now I will uninstall the app, reinstall the original 3.12.0 from Play Store and come back with the results.

After uninstall, reinstall the stock 3.12.0 and logging in with QR code, the exception reoccurred after trying to delete the message in the Nextcloud app's Notifications menu.
Crash log attached.
Nextcloud crashed2.txt

Could this be caused by server side? I always had problems with push messages, receiving them quite irregularly...

Okay, so uninstalled again, reinstalled @tobiasKaminsky's version, logged in with QR code.
And now the exception _does not occur_ after trying to delete the message in the Nextcloud app's Notifications menu. So that seems to be fixed, at least on this phone.

Still the push is not received, but I guess that's a whole different problem...

In the end some of the push messages came through and the exception did not reoccur. So that part seems to be fixed also. At least for me.

@keresztg thanks for testing.

Can anyone else confirm the fix? I do not want to use it by only one vote…🙈

I tested on my wife's phone briefly and the crash seems to be gone. I had to uninstall and reinstall to get it working, simply updating didn't fix the problem. It also has not shown the notifications unless I actually open the nextcloud app, which is odd. I'll do more testing this evening and get back to you. FWIW, I recreated my account on my device weeks ago and the problem went away without an upgrade.

On June 17, 2020 11:46:25 PM CDT, Tobias Kaminsky notifications@github.com wrote:

@keresztg thanks for testing.>
>
Can anyone else confirm the fix? I do not want to use it by only one
vote…🙈>
>
-- >
You are receiving this because you are subscribed to this thread.>
Reply to this email directly or view it on GitHub:>
https://github.com/nextcloud/android/issues/4675#issuecomment-645769431

*** CAUSE OF ERROR ***

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/analytics/connector/AnalyticsConnector;
at com.google.firebase.messaging.zzo.zza(com.google.firebase:firebase-messaging@@20.1.3:120)
at com.google.firebase.messaging.zzo.zza(com.google.firebase:firebase-messaging@@20.1.3:1)
at com.google.firebase.messaging.FirebaseMessagingService.zzc(com.google.firebase:firebase-messaging@@20.1.3:50)
at com.google.firebase.messaging.zze.run(com.google.firebase:firebase-messaging@@20.1.3:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:6)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.analytics.connector.AnalyticsConnector" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.nextcloud.client-AB0yY_gNZ-P3uHm8tDJPNA==/base.apk"],nativeLibraryDirectories=[/data/app/com.nextcloud.client-AB0yY_gNZ-P3uHm8tDJPNA==/lib/arm64, /data/app/com.nextcloud.client-AB0yY_gNZ-P3uHm8tDJPNA==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
... 8 more

*** APP INFORMATION ***
ID: com.nextcloud.client
Version: 30120190
Build flavor: gplay

*** DEVICE INFORMATION ***
Brand: Sony
Device: G8142
Model: G8142
Id: 47.2.A.10.107
Product: G8142

*** FIRMWARE ***
SDK: 28
Release: 9
Incremental: 172320177

Happens to me usually when I get a nextcloud talk message.

Happens to me usually when I get a nextcloud talk message.

But Files Client is crashing?
Can you install Talk app and see if it then still happens? (the puss message should then go directly to Talk app)

I can confirm that the app crashes if a Nextcloud Talk message is received.

I removed the play store version and installed the f-droid version. I no longer get the crash because I no longer get anynotifications. So perhaps a partial work around for now. At least it doesn't crash any more.

Apparently in order to do android notifications nextcloud requires proprietary components from Google which aren't included in the fdroid version.

Is that the only way to do notifications in an android app? I think I've used other apps from fdroid that had notifications.

Happens to me usually when I get a nextcloud talk message.

But Files Client is crashing?
Can you install Talk app and see if it then still happens? (the puss message should then go directly to Talk app)

@DrekiDegga can you please try and install Nextcloud Talk and see if this also crashes when receiving a message?

@all that have the same problem and that have their device not set to english:
Can you try if this still happens if the device language is set to English?

(ref: https://github.com/nextcloud/android/issues/6776#issuecomment-679923458)

After updating LineageOS on my private device, I suddenly also got those crashes, without having changed anything on NC app.
So I tried to install a debug version to get more infos on this crash.
But as soon as I re-installed the app, I could never triggered the crash again :/

Can one or two test if re-installing the app might help?

@all can you please try https://cloud.nextcloud.com/s/mJ34deny3LicrgA
You can install this as an "upgrade" to your existing Nextcloud app.

This should prevent crashes.

"Downside" is that it included a bit more Firebase, but all is disabled:
https://github.com/nextcloud/android/blob/master/src/gplay/AndroidManifest.xml#L31-L36

According to https://firebase.google.com/docs/analytics/configure-data-collection?platform=android#temporarily_disable_collection_1

However Exodus will still show it as available tracker, as it is technically still part of our code.

@tobiasKaminsky : Nice work, i have upgrade my app and test with generate notification : don't crash :)

For me, it's based on firebase blocked on my dns (pihole) and my dns is set on my os (e.foundation) for wifi and 4g

For get notification, I have trust minimal request via microG (on os /e/ directly).

For next release, need to "upgrade" manually or next build can be upgrade via traditional channel ? (aurora store for me)

I second that. After simply reinstalling the app, the crashes do not appear anymore. Instead, push messages are successfully. shown.

I second that also. After update from tobiasKaminsky yesterday. No problems any more with crashes and now I see messages as well, like app updates available.

Thanks for testing.
Then let us get this in :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Shagequi picture Shagequi  ·  3Comments

AndyScherzinger picture AndyScherzinger  ·  3Comments

eppfel picture eppfel  ·  3Comments

rainer042 picture rainer042  ·  3Comments

Tie-fighter picture Tie-fighter  ·  3Comments