Reputation: 129
My Application works fine if I install from sdcard using apk file. but on downloading from google play it crashes with toast
application shortcut is already available.
It crashes only on first session with the error log that I got from google play
java.lang.RuntimeException: Unable to instantiate receiver com.google.ads.InstallReceiver: java.lang.ClassNotFoundException: Didn't find class "com.google.ads.InstallReceiver" on path: DexPathList
Waiting for the Help. Thanks in Advance.
Upvotes: 1
Views: 820
Reputation: 125445
Likely an Admob problem. Remove
<receiver
android:name="com.admob.android.ads.analytics.InstallReceiver"
android:exported="true">
<intent-filter>
<action
android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
from your Admob Plugin Manifest. Make sure your Ad works after removing that. If the problem is still there, delete the current Admob plugin folder and install the latest version from here. Just download only the one title GoogleMobileAds.unitypackage and import it into your project.
Upvotes: 1