روی دستگاه واقعی درست کار میکنه ولی روی امولاتور ارور زیر دیده میشه:
E/AndroidRuntime: FATAL EXCEPTION: Timer-0
Process: com.example.sepehr.gugu_helpers, PID: 19013
java.lang.IllegalArgumentException: Service not registered: com.android.installreferrer.api.InstallReferrerClientImpl$InstallReferrerServiceConnection@c43431c
at android.app.LoadedApk.forgetServiceDispatcher(LoadedApk.java:1044)
at android.app.ContextImpl.unbindService(ContextImpl.java:1337)
at android.content.ContextWrapper.unbindService(ContextWrapper.java:616)
at com.android.installreferrer.api.InstallReferrerClientImpl.endConnection(InstallReferrerClientImpl.java:170)
at com.adpdigital.push.ai.a(SourceFile:61)
at com.adpdigital.push.ai.onInstallReferrerSetupFinished(SourceFile:131)
at com.android.installreferrer.api.InstallReferrerClientImpl.startConnection(InstallReferrerClientImpl.java:162)
at com.adpdigital.push.ai.startConnection(SourceFile:53)
at com.adpdigital.push.aj.run(SourceFile:36)
at java.util.Timer$TimerImpl.run(Timer.java:284)
روی دستگاه واقعی درست کار میکنه ولی روی امولاتور ارور زیر دیده میشه:
Originally posted by @sepehr13494 in https://github.com/chabokpush/chabok-client-android/issues/26#issuecomment-484916643