Link step to integration AppsFlyer to Project Android: https://support.appsflyer.com/hc/en-us/articles/207032126-AppsFlyer-SDK-Integration-Android
After following your step, everything go well on debug build but i have crash when build release, my project configured with proguard
-dontwarn com.appsflyer.**
-dontwarn com.android.installreferrer
-keep public class com.android.installreferrer.** { *; }
I found issue in onInstallReferrerSetupFinished method && mReferrerClient.getInstallReferrer();
I don't know i'm wrong proguard config or Appsflyer sdk have problem with connect .AIDL These're logs from Fabric crash
Binder invocation to an incorrect interface android.os.Parcel.readException (Parcel.java:1599) com.android.installreferrer.api.InstallReferrerClientImpl.getInstallReferrer (Unknown Source) com.appsflyer.o.onInstallReferrerSetupFinished (Unknown Source)