Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App does'nt start and crashes on Android 5 and 6 #8875

Closed
yostyle opened this issue Jul 30, 2024 · 1 comment
Closed

App does'nt start and crashes on Android 5 and 6 #8875

yostyle opened this issue Jul 30, 2024 · 1 comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@yostyle
Copy link
Contributor

yostyle commented Jul 30, 2024

Steps to reproduce

  1. Install Element Android 1.6.16 on Android 5 or 6
  2. Launch the app

It's a regression from this PR #8801 (cc @BillCarsonFr)

private var bloomFilter: BloomFilter<String> = BloomFilter.create<String>(Funnels.stringFunnel(Charsets.UTF_8), EXPECTED_INSERTIONS)

java.lang.NoClassDefFoundError: Failed resolution of: Lorg/checkerframework/com/google/common/hash/BloomFilter;
	at im.vector.app.features.analytics.ReportedDecryptionFailurePersistence.<init>(ReportedDecryptionFailurePersistence.kt:50)
	at im.vector.app.DaggerVectorApplication_HiltComponents_SingletonC$SingletonCImpl.reportedDecryptionFailurePersistence(DaggerVectorApplication_HiltComponents_SingletonC.java:9215)
	at im.vector.app.DaggerVectorApplication_HiltComponents_SingletonC$SingletonCImpl.-$$Nest$mreportedDecryptionFailurePersistence(DaggerVectorApplication_HiltComponents_SingletonC.java)
	at im.vector.app.DaggerVectorApplication_HiltComponents_SingletonC$SingletonCImpl$SwitchingProvider.get(DaggerVectorApplication_HiltComponents_SingletonC.java:9650)
	at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
	at im.vector.app.DaggerVectorApplication_HiltComponents_SingletonC$SingletonCImpl.injectVectorApplication2(DaggerVectorApplication_HiltComponents_SingletonC.java:9492)
	at im.vector.app.DaggerVectorApplication_HiltComponents_SingletonC$SingletonCImpl.injectVectorApplication(DaggerVectorApplication_HiltComponents_SingletonC.java:9385)
	at im.vector.app.Hilt_VectorApplication.hiltInternalInject(Hilt_VectorApplication.java:52)
	at im.vector.app.Hilt_VectorApplication.onCreate(Hilt_VectorApplication.java:43)
	at im.vector.app.VectorApplication.onCreate(VectorApplication.kt:131)

Outcome

What did you expect?

The app should be started

What happened instead?

The app crashes.

Your phone model

No response

Operating system version

Android 5 and 6

Application version and app store

1.6.16

Homeserver

matrix.org

Will you send logs?

No

Are you willing to provide a PR?

No

@yostyle yostyle added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Jul 30, 2024
@yostyle
Copy link
Contributor Author

yostyle commented Jul 31, 2024

For unknown reason Android Studio had replaced some imports.

Before

import com.google.common.hash.BloomFilter
import com.google.common.hash.Funnels

After

import org.checkerframework.com.google.common.hash.BloomFilter
import org.checkerframework.com.google.common.hash.Funnels

sorry for the inconvenience

@yostyle yostyle closed this as completed Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

No branches or pull requests

1 participant