Closed Ajax-ua closed 4 years ago
I have the same issue too, it seems it does not work with the new capacitor 2.0.0 version due to the fact it uses Android X
capacitor-fcm 2+ is for capacitor v2. y'all gotta need to refactor your apps
@stewwan I was using capacitor-fcm v 2.0.0 when I've faced this problem. So it's the problem of the current latest version
can you set up a reproducible example?
Removing and adding Android platform has solved the issue. Thanks
FWIW I've just faced the same issue
to fix it add this to your app gradle.properties
android.useAndroidX=true
android.enableJetifier=true
clean project + rebuild in Android Studio
Hi guys. How do I go about this.
Cannot access 'android.app.Activity' which is a supertype of 'com.example.nextbook.MainActivity'. Check your module classpath for missing or conflicting dependencies
I'm getting an error while building the app in Android Studio:
I'm using @capacitor/core v 2.0.0 and @capacitor/android v 2.0.0