class file for com.clevertap.android.sdk.SyncListener not found
nathanielajayi7 opened this issue · comments
C:\Users\Nathan#\Desktop\luca-mobile\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:29: error: cannot access SyncListener
flutterEngine.getPlugins().add(new com.clevertap.clevertap_plugin.CleverTapPlugin());
^
class file for com.clevertap.android.sdk.SyncListener not found
1 error
Building for flutter with the recent v1.5.4 on pub.dev doesn't work
How did you integrate the CleverTap plugin in your flutter project? Please mention all the setup related details.
@nathanielajayi7 Have you added all the required Gradle dependencies correctly?
It should be following if you're using CleverTap Plugin v1.5.4:
dependencies {
.....
implementation 'com.clevertap.android:clevertap-android-sdk:4.6.3'
implementation 'androidx.fragment:fragment:1.3.6'
implementation 'androidx.core:core:1.3.0'
.....
}
This solves the problem. Thanks.